mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +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
|
|
@ -50,7 +50,7 @@ PyObject *PyBool_FromLong(long ok)
|
|||
static PyObject *
|
||||
bool_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
static const char *kwlist[] = {"x", 0};
|
||||
static char *kwlist[] = {"x", 0};
|
||||
PyObject *x = Py_False;
|
||||
long ok;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue