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
|
@ -97,7 +97,7 @@ structseq_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
PyObject *ob;
|
||||
PyStructSequence *res = NULL;
|
||||
Py_ssize_t len, min_len, max_len, i, n_unnamed_fields;
|
||||
static const char *kwlist[] = {"sequence", "dict", 0};
|
||||
static char *kwlist[] = {"sequence", "dict", 0};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O:structseq",
|
||||
kwlist, &arg, &dict))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue