Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 36581:dc6dec156869 2.4
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:46 +0000 |
| parents | 3350f85c889f |
| children | aa040410fb9a |
line wrap: on
line diff
--- a/Python/ceval.c Sat Feb 18 22:56:02 2006 +0000 +++ b/Python/ceval.c Sun Feb 19 00:12:46 2006 +0000 @@ -3894,7 +3894,7 @@ } } else { PyErr_SetString(PyExc_TypeError, - "slice indices must be integers"); + "slice indices must be integers or None"); return 0; } /* Truncate -- very long indices are truncated anyway */
