summaryrefslogtreecommitdiffstats
path: root/Objects/boolobject.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 /Objects/boolobject.c
parentf9f61b4aa281c1b19546dba7f1ee529b8b80bc9a (diff)
downloadcpython-15e62742fad688b026ba80bf17d1345c4cbd423b.zip
cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.gz
cpython-15e62742fad688b026ba80bf17d1345c4cbd423b.tar.bz2
Revert backwards-incompatible const changes.
Diffstat (limited to 'Objects/boolobject.c')
-rw-r--r--Objects/boolobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/boolobject.c b/Objects/boolobject.c
index 677a98b..f2429fe 100644
--- a/Objects/boolobject.c
+++ b/Objects/boolobject.c
@@ -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;