commit | 1dc5a84aee510f966849d32263466a6ec9c3da0c | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Feb 19 00:12:42 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Feb 19 00:12:42 2006 +0000 |
tree | bfd88ad0b44bc10d10fca6ba8aa300dd11d11509 | |
parent | b2699b242d46312be13e7093ecf59ff949a190f7 [diff] [blame] |
Bug #801349: document that start/stop/step slice arguments can be None
diff --git a/Python/ceval.c b/Python/ceval.c index 131f5a7..c371f28 100644 --- a/Python/ceval.c +++ b/Python/ceval.c
@@ -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;