summaryrefslogtreecommitdiff
path: root/Include/ceval.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-30 18:29:23 +0300
committerGitHub <noreply@github.com>2017-03-30 18:29:23 +0300
commitd4edfc9abffca965e76ebc5957a92031a4d6c4d4 (patch)
treed985a5ba3c7dd8ec3183014962d650724f61ece9 /Include/ceval.h
parent762ec97ea68a1126b8855996c61fa8239dc9fff7 (diff)
downloadcpython-git-d4edfc9abffca965e76ebc5957a92031a4d6c4d4.tar.gz
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/ceval.h')
-rw-r--r--Include/ceval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 25976bb376..10be9d84ea 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