mirror of
https://github.com/python/cpython.git
synced 2025-09-07 01:11: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
|
@ -1907,7 +1907,7 @@ builtin_sorted(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
{
|
||||
PyObject *newlist, *v, *seq, *compare=NULL, *keyfunc=NULL, *newargs;
|
||||
PyObject *callable;
|
||||
static const char *kwlist[] = {"iterable", "cmp", "key", "reverse", 0};
|
||||
static char *kwlist[] = {"iterable", "cmp", "key", "reverse", 0};
|
||||
int reverse;
|
||||
|
||||
/* args 1-4 should match listsort in Objects/listobject.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue