diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 16:46:16 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 16:46:16 (GMT) |
commit | 15e62742fad688b026ba80bf17d1345c4cbd423b (patch) | |
tree | fb3545d1da59e94df32d48f21df620681b08765c /Modules/pyexpat.c | |
parent | f9f61b4aa281c1b19546dba7f1ee529b8b80bc9a (diff) | |
download | cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.zip cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.gz cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.bz2 |
Revert backwards-incompatible const changes.
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r-- | Modules/pyexpat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 76b7cf9..b3001ea 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1726,7 +1726,7 @@ pyexpat_ParserCreate(PyObject *notused, PyObject *args, PyObject *kw) PyObject *intern = NULL; PyObject *result; int intern_decref = 0; - static const char *kwlist[] = {"encoding", "namespace_separator", + static char *kwlist[] = {"encoding", "namespace_separator", "intern", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kw, "|zzO:ParserCreate", kwlist, |