diff Modules/_bisectmodule.c @ 36684:0bebeb393045 legacy-trunk

More unconsting.
author Martin v. Löwis <martin@v.loewis.de>
date Mon, 27 Feb 2006 17:20:04 +0000
parents 9f3f87e920a6
children 8e7383cbe56e f324631462a2
line wrap: on
line diff
--- a/Modules/_bisectmodule.c	Mon Feb 27 17:15:31 2006 +0000
+++ b/Modules/_bisectmodule.c	Mon Feb 27 17:20:04 2006 +0000
@@ -40,7 +40,7 @@
 	int lo = 0;
 	int hi = -1;
 	int index;
-	static const char *keywords[] = {"a", "x", "lo", "hi", NULL};
+	static char *keywords[] = {"a", "x", "lo", "hi", NULL};
 
 	if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|ii:bisect_right",
 		keywords, &list, &item, &lo, &hi))
@@ -70,7 +70,7 @@
 	int lo = 0;
 	int hi = -1;
 	int index;
-	static const char *keywords[] = {"a", "x", "lo", "hi", NULL};
+	static char *keywords[] = {"a", "x", "lo", "hi", NULL};
 
 	if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|ii:insort_right",
 		keywords, &list, &item, &lo, &hi))
@@ -137,7 +137,7 @@
 	int lo = 0;
 	int hi = -1;
 	int index;
-	static const char *keywords[] = {"a", "x", "lo", "hi", NULL};
+	static char *keywords[] = {"a", "x", "lo", "hi", NULL};
 
 	if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|ii:bisect_left",
 		keywords, &list, &item, &lo, &hi))
@@ -167,7 +167,7 @@
 	int lo = 0;
 	int hi = -1;
 	int index;
-	static const char *keywords[] = {"a", "x", "lo", "hi", NULL};
+	static char *keywords[] = {"a", "x", "lo", "hi", NULL};
 
 	if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|ii:insort_left",
 		keywords, &list, &item, &lo, &hi))