diff Python/ceval.c @ 36580:8e13236243dd legacy-trunk

Bug #801349: document that start/stop/step slice arguments can be None
author Georg Brandl <georg@python.org>
date Sun, 19 Feb 2006 00:12:42 +0000
parents d3685f9b7b71
children b6d2f6fd3e11
line wrap: on
line diff
--- a/Python/ceval.c	Sat Feb 18 23:44:24 2006 +0000
+++ b/Python/ceval.c	Sun Feb 19 00:12:42 2006 +0000
@@ -3905,7 +3905,7 @@
 			}
 		} else {
 			PyErr_SetString(PyExc_TypeError,
-					"slice indices must be integers");
+					"slice indices must be integers or None");
 			return 0;
 		}
 		*pi = x;