diff Objects/unicodeobject.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 0c096be27000
children e9a7a2784e17
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Mon Feb 27 16:31:12 2006 +0000
+++ b/Objects/unicodeobject.c	Mon Feb 27 16:46:16 2006 +0000
@@ -7259,7 +7259,7 @@
 unicode_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
 {
         PyObject *x = NULL;
-	static const char *kwlist[] = {"string", "encoding", "errors", 0};
+	static char *kwlist[] = {"string", "encoding", "errors", 0};
 	char *encoding = NULL;
 	char *errors = NULL;