mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +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
|
@ -950,7 +950,7 @@ int_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
{
|
||||
PyObject *x = NULL;
|
||||
int base = -909;
|
||||
static const char *kwlist[] = {"x", "base", 0};
|
||||
static char *kwlist[] = {"x", "base", 0};
|
||||
|
||||
if (type != &PyInt_Type)
|
||||
return int_subtype_new(type, args, kwds); /* Wimp out */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue