mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +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
|
|
@ -1593,7 +1593,7 @@ static PyObject *
|
|||
type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
PyObject *name, *bases, *dict;
|
||||
static const char *kwlist[] = {"name", "bases", "dict", 0};
|
||||
static char *kwlist[] = {"name", "bases", "dict", 0};
|
||||
PyObject *slots, *tmp, *newslots;
|
||||
PyTypeObject *type, *base, *tmptype, *winner;
|
||||
PyHeapTypeObject *et;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue