diff Objects/structseq.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 d6d415df0df0
children 79a0f080f898 f731859e9b3b
line wrap: on
line diff
--- a/Objects/structseq.c	Mon Feb 27 16:31:12 2006 +0000
+++ b/Objects/structseq.c	Mon Feb 27 16:46:16 2006 +0000
@@ -97,7 +97,7 @@
 	PyObject *ob;
 	PyStructSequence *res = NULL;
 	Py_ssize_t len, min_len, max_len, i, n_unnamed_fields;
-	static const char *kwlist[] = {"sequence", "dict", 0};
+	static char *kwlist[] = {"sequence", "dict", 0};
 
 	if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O:structseq", 
 					 kwlist, &arg, &dict))