diff options
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ _PyEval_SliceIndex(PyObject *v, Py_ssize_t *pi) } } else { PyErr_SetString(PyExc_TypeError, - "slice indices must be integers"); + "slice indices must be integers or None"); return 0; } *pi = x; |