diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 17:20:04 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 17:20:04 (GMT) |
commit | 02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd (patch) | |
tree | 7116de173bc782da1cf8f3e59d7eda2e977099ee /Modules/_bisectmodule.c | |
parent | f4e6928c4d259fbff9fa8e48496339009333f228 (diff) | |
download | cpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.zip cpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.tar.gz cpython-02cbf4ae4baff0dbe373351ebf182cbcfc05d6bd.tar.bz2 |
More unconsting.
Diffstat (limited to 'Modules/_bisectmodule.c')
-rw-r--r-- | Modules/_bisectmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_bisectmodule.c b/Modules/_bisectmodule.c index 64fc046..f8d412a 100644 --- a/Modules/_bisectmodule.c +++ b/Modules/_bisectmodule.c @@ -40,7 +40,7 @@ bisect_right(PyObject *self, PyObject *args, PyObject *kw) int lo = 0; int hi = -1; int index; - static const char *keywords[] = {"a", "x", "lo", "hi", NULL}; + static char *keywords[] = {"a", "x", "lo", "hi", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|ii:bisect_right", keywords, &list, &item, &lo, &hi)) @@ -70,7 +70,7 @@ insort_right(PyObject *self, PyObject *args, PyObject *kw) int lo = 0; int hi = -1; int index; - static const char *keywords[] = {"a", "x", "lo", "hi", NULL}; + static char *keywords[] = {"a", "x", "lo", "hi", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|ii:insort_right", keywords, &list, &item, &lo, &hi)) @@ -137,7 +137,7 @@ bisect_left(PyObject *self, PyObject *args, PyObject *kw) int lo = 0; int hi = -1; int index; - static const char *keywords[] = {"a", "x", "lo", "hi", NULL}; + static char *keywords[] = {"a", "x", "lo", "hi", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|ii:bisect_left", keywords, &list, &item, &lo, &hi)) @@ -167,7 +167,7 @@ insort_left(PyObject *self, PyObject *args, PyObject *kw) int lo = 0; int hi = -1; int index; - static const char *keywords[] = {"a", "x", "lo", "hi", NULL}; + static char *keywords[] = {"a", "x", "lo", "hi", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|ii:insort_left", keywords, &list, &item, &lo, &hi)) |