summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-02-04 11:10:25 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2017-02-04 11:10:25 +0200
commit2319a2457913cb2b1e64630f0399c30315da2eab (patch)
tree892749256a6c76fd0f4eb5b50cfd60930f074faf
parentde30239e3f1b18f1ff360865187e184025c6fd27 (diff)
downloadcpython-2319a2457913cb2b1e64630f0399c30315da2eab.tar.gz
Issue #27867: Fixed merging error.
-rw-r--r--Include/sliceobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/sliceobject.h b/Include/sliceobject.h
index 445a8d87e0..71e281852d 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);