diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 17:20:04 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 17:20:04 (GMT) |
commit | 02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd (patch) | |
tree | 7116de173bc782da1cf8f3e59d7eda2e977099ee /Modules/_elementtree.c | |
parent | f4e6928c4d259fbff9fa8e48496339009333f228 (diff) | |
download | cpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.zip cpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.tar.gz cpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.tar.bz2 |
More unconsting.
Diffstat (limited to 'Modules/_elementtree.c')
-rw-r--r-- | Modules/_elementtree.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c index ab3ef23..514ed72 100644 --- a/Modules/_elementtree.c +++ b/Modules/_elementtree.c @@ -106,12 +106,6 @@ typedef int Py_ssize_t; #endif #endif -#if (PY_VERSION_HEX >= 0x02050000) -#define PY_CONST const /* 2.5 adds const to some API:s */ -#else -#define PY_CONST -#endif - #if !defined(Py_RETURN_NONE) #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None #endif @@ -2192,7 +2186,7 @@ xmlparser(PyObject* _self, PyObject* args, PyObject* kw) PyObject* target = NULL; char* encoding = NULL; - static PY_CONST char* kwlist[] = { "target", "encoding", NULL }; + static char* kwlist[] = { "target", "encoding", NULL }; if (!PyArg_ParseTupleAndKeywords(args, kw, "|Oz:XMLParser", kwlist, &target, &encoding)) return NULL; |