Home
last modified time | relevance | path

Searched refs:evaluate_slice_index (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_slice.py13 def evaluate_slice_index(arg): function
33 step = 1 if slice.step is None else evaluate_slice_index(slice.step)
49 start = evaluate_slice_index(slice.start)
56 stop = evaluate_slice_index(slice.stop)
/external/python/cpython3/Objects/
Dsliceobject.c353 evaluate_slice_index(PyObject *v) in evaluate_slice_index() function
387 step = evaluate_slice_index(self->step); in _PySlice_GetLongIndices()
422 start = evaluate_slice_index(self->start); in _PySlice_GetLongIndices()
461 stop = evaluate_slice_index(self->stop); in _PySlice_GetLongIndices()