Revert backwards-incompatible const changes.

This commit is contained in:
Martin v. Löwis 2006-02-27 16:46:16 +00:00
parent f9f61b4aa2
commit 15e62742fa
36 changed files with 71 additions and 70 deletions

View file

@ -364,7 +364,7 @@ func_new(PyTypeObject* type, PyObject* args, PyObject* kw)
PyObject *closure = Py_None;
PyFunctionObject *newfunc;
Py_ssize_t nfree, nclosure;
static const char *kwlist[] = {"code", "globals", "name",
static char *kwlist[] = {"code", "globals", "name",
"argdefs", "closure", 0};
if (!PyArg_ParseTupleAndKeywords(args, kw, "O!O!|OOO:function",