Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 36675:dba6494735d0 legacy-trunk
Revert backwards-incompatible const changes.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Mon, 27 Feb 2006 16:46:16 +0000 |
| parents | 3c0b26113df6 |
| children | 5c36c222e7ca |
line wrap: on
line diff
--- a/Python/bltinmodule.c Mon Feb 27 16:31:12 2006 +0000 +++ b/Python/bltinmodule.c Mon Feb 27 16:46:16 2006 +0000 @@ -1907,7 +1907,7 @@ { 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 */
