mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +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
|
@ -16,7 +16,7 @@ enum_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
{
|
||||
enumobject *en;
|
||||
PyObject *seq = NULL;
|
||||
static const char *kwlist[] = {"sequence", 0};
|
||||
static char *kwlist[] = {"sequence", 0};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:enumerate", kwlist,
|
||||
&seq))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue