Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.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 | 76ce880dce49 |
| children | 9eb24f92a784 |
line wrap: on
line diff
--- a/Objects/stringobject.c Mon Feb 27 16:31:12 2006 +0000 +++ b/Objects/stringobject.c Mon Feb 27 16:46:16 2006 +0000 @@ -3346,7 +3346,7 @@ string_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { PyObject *x = NULL; - static const char *kwlist[] = {"object", 0}; + static char *kwlist[] = {"object", 0}; if (type != &PyString_Type) return str_subtype_new(type, args, kwds);
