diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-08-11 17:31:17 +0000 |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-08-11 17:31:17 +0000 |
commit | f0f45142d52436d26ce8ed888c73496949caae90 (patch) | |
tree | 53a4f3c197b87cb8afa33b87de48b06d5859513d /Modules/_elementtree.c | |
parent | 3a879e8a277e61195f5379862ef47f3ca9c69f4b (diff) | |
download | cpython-git-f0f45142d52436d26ce8ed888c73496949caae90.tar.gz |
Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99
va_copy, but available on all python platforms. Untabified a few
unrelated files.
Diffstat (limited to 'Modules/_elementtree.c')
-rw-r--r-- | Modules/_elementtree.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c index 2fad8e2f47..876ab3a769 100644 --- a/Modules/_elementtree.c +++ b/Modules/_elementtree.c @@ -2870,15 +2870,15 @@ static PyMethodDef _functions[] = { static struct PyModuleDef _elementtreemodule = { - PyModuleDef_HEAD_INIT, - "_elementtree", - NULL, - -1, - _functions, - NULL, - NULL, - NULL, - NULL + PyModuleDef_HEAD_INIT, + "_elementtree", + NULL, + -1, + _functions, + NULL, + NULL, + NULL, + NULL }; PyMODINIT_FUNC @@ -2890,12 +2890,12 @@ PyInit__elementtree(void) /* Initialize object types */ if (PyType_Ready(&TreeBuilder_Type) < 0) - return NULL; + return NULL; if (PyType_Ready(&Element_Type) < 0) - return NULL; + return NULL; #if defined(USE_EXPAT) if (PyType_Ready(&XMLParser_Type) < 0) - return NULL; + return NULL; #endif m = PyModule_Create(&_elementtreemodule); @@ -2905,8 +2905,8 @@ PyInit__elementtree(void) /* The code below requires that the module gets already added to sys.modules. */ PyDict_SetItemString(PyImport_GetModuleDict(), - _elementtreemodule.m_name, - m); + _elementtreemodule.m_name, + m); /* python glue code */ |