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
|
@ -159,7 +159,7 @@ static PyObject *
|
|||
class_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
PyObject *name, *bases, *dict;
|
||||
static const char *kwlist[] = {"name", "bases", "dict", 0};
|
||||
static char *kwlist[] = {"name", "bases", "dict", 0};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "SOO", kwlist,
|
||||
&name, &bases, &dict))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue