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 /Objects/moduleobject.c | |
parent | f9f61b4aa281c1b19546dba7f1ee529b8b80bc9a (diff) | |
download | cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.zip cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.gz cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.bz2 |
Revert backwards-incompatible const changes.
Diffstat (limited to 'Objects/moduleobject.c')
-rw-r--r-- | Objects/moduleobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c index dfcf39c..8124968 100644 --- a/Objects/moduleobject.c +++ b/Objects/moduleobject.c @@ -149,7 +149,7 @@ _PyModule_Clear(PyObject *m) static int module_init(PyModuleObject *m, PyObject *args, PyObject *kwds) { - static const char *kwlist[] = {"name", "doc", NULL}; + static char *kwlist[] = {"name", "doc", NULL}; PyObject *dict, *name = Py_None, *doc = Py_None; if (!PyArg_ParseTupleAndKeywords(args, kwds, "S|O:module.__init__", kwlist, &name, &doc)) |