mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +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
|
@ -829,7 +829,7 @@ complex_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
Py_complex cr, ci;
|
||||
int own_r = 0;
|
||||
static PyObject *complexstr;
|
||||
static const char *kwlist[] = {"real", "imag", 0};
|
||||
static char *kwlist[] = {"real", "imag", 0};
|
||||
|
||||
r = Py_False;
|
||||
i = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue