Mercurial > cpython-lru_cache-weakref
diff Objects/floatobject.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 | 7fdc639bc5b4 |
| children | 83b860acfe95 |
line wrap: on
line diff
--- a/Objects/floatobject.c Mon Feb 27 16:31:12 2006 +0000 +++ b/Objects/floatobject.c Mon Feb 27 16:46:16 2006 +0000 @@ -940,7 +940,7 @@ float_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { PyObject *x = Py_False; /* Integer zero */ - static const char *kwlist[] = {"x", 0}; + static char *kwlist[] = {"x", 0}; if (type != &PyFloat_Type) return float_subtype_new(type, args, kwds); /* Wimp out */
