summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-30 15:29:23 (GMT)
committerGitHub <noreply@github.com>2017-03-30 15:29:23 (GMT)
commitd4edfc9abffca965e76ebc5957a92031a4d6c4d4 (patch)
treed985a5ba3c7dd8ec3183014962d650724f61ece9 /Include
parent762ec97ea68a1126b8855996c61fa8239dc9fff7 (diff)
downloadcpython-d4edfc9abffca965e76ebc5957a92031a4d6c4d4.zip
cpython-d4edfc9abffca965e76ebc5957a92031a4d6c4d4.tar.gz
cpython-d4edfc9abffca965e76ebc5957a92031a4d6c4d4.tar.bz2
bpo-29935: Fixed error messages in the index() method of tuple, list and deque (#887)
when pass indices of wrong type.
Diffstat (limited to 'Include')
-rw-r--r--Include/ceval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 25976bb..10be9d8 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -223,7 +223,7 @@ PyAPI_FUNC(Py_ssize_t) _PyEval_RequestCodeExtraIndex(freefunc);
#ifndef Py_LIMITED_API
PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *);
-PyAPI_FUNC(int) _PyEval_SliceIndexOrNone(PyObject *, Py_ssize_t *);
+PyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *);
PyAPI_FUNC(void) _PyEval_SignalAsyncExc(void);
#endif