mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Revert backwards-incompatible const changes.
This commit is contained in:
parent
f9f61b4aa2
commit
15e62742fa
36 changed files with 71 additions and 70 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue