summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-27 16:46:16 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-27 16:46:16 (GMT)
commit15e62742fad688b026ba80bf17d1345c4cbd423b (patch)
treefb3545d1da59e94df32d48f21df620681b08765c /Python/bltinmodule.c
parentf9f61b4aa281c1b19546dba7f1ee529b8b80bc9a (diff)
downloadcpython-15e62742fad688b026ba80bf17d1345c4cbd423b.zip
cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.gz
cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.bz2
Revert backwards-incompatible const changes.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 49645181..24c99f4 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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 */