summaryrefslogtreecommitdiffstats
path: root/Include/sliceobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/sliceobject.h')
-rw-r--r--Include/sliceobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/sliceobject.h b/Include/sliceobject.h
index 445a8d8..71e2818 100644
--- a/Include/sliceobject.h
+++ b/Include/sliceobject.h
@@ -41,7 +41,7 @@ PyAPI_FUNC(int) PySlice_GetIndicesEx(PySliceObject *r, Py_ssize_t length,
#define PySlice_GetIndicesEx(slice, length, start, stop, step, slicelen) ( \
_PySlice_Unpack((PyObject *)(slice), (start), (stop), (step)) < 0 ? \
((*(slicelen) = 0), -1) : \
- ((*(slicelen) = PySlice_AdjustIndices((length), (start), (stop), *(step))), \
+ ((*(slicelen) = _PySlice_AdjustIndices((length), (start), (stop), *(step))), \
0))
PyAPI_FUNC(int) _PySlice_Unpack(PyObject *slice,
Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);