summaryrefslogtreecommitdiffstats
path: root/Include/ceval.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-30 17:31:46 (GMT)
committerGitHub <noreply@github.com>2017-03-30 17:31:46 (GMT)
commit8b8bde44f3912d8b2df5591ffc31d2d8c6dcca6c (patch)
treedbbba7ea81cac0fe4ccbc5cec45227a50decf3f3 /Include/ceval.h
parentc90ff1b78cb79bc3762184e03fa81f11984aaa45 (diff)
downloadcpython-8b8bde44f3912d8b2df5591ffc31d2d8c6dcca6c.zip
cpython-8b8bde44f3912d8b2df5591ffc31d2d8c6dcca6c.tar.gz
cpython-8b8bde44f3912d8b2df5591ffc31d2d8c6dcca6c.tar.bz2
bpo-29935: Fixed error messages in the index() method of tuple, list and deque (#887) (#907) (#909)
when pass indices of wrong type. (cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4) (cherry picked from commit bf4bb2e43030661e568d5d4b046e8b9351cc164c)
Diffstat (limited to 'Include/ceval.h')
-rw-r--r--Include/ceval.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index b5373a9..3f84b06 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -203,6 +203,7 @@ PyAPI_FUNC(unsigned long) _PyEval_GetSwitchInterval(void);
#ifndef Py_LIMITED_API
PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *);
+PyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *);
PyAPI_FUNC(void) _PyEval_SignalAsyncExc(void);
#endif