diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-19 17:37:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-19 17:37:40 (GMT) |
commit | 80ec8364f15857c405ef0ecb1e758c8fc6b332f7 (patch) | |
tree | bf8bfdbf42d3c2aeca0f085777979f873427c642 /Include | |
parent | a5af6e1af77ee0f9294c5776478a9c24d9fbab94 (diff) | |
download | cpython-80ec8364f15857c405ef0ecb1e758c8fc6b332f7.zip cpython-80ec8364f15857c405ef0ecb1e758c8fc6b332f7.tar.gz cpython-80ec8364f15857c405ef0ecb1e758c8fc6b332f7.tar.bz2 |
bpo-29748: Added the slice index converter in Argument Clinic. (#549)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/ceval.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 8760fe5..25976bb 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -223,6 +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(void) _PyEval_SignalAsyncExc(void); #endif |