picop.cyslice#
Fast slice helpers.
- picop.cyslice.slice_check(p)#
Return True if
pis aslice(PySlice_Check). :type p:object:param p:
- picop.cyslice.slice_eq(a, b)#
Return True if slices are equal.
Notes
Identity short-circuit plus richcompare.
- picop.cyslice.slice_indices_ex(sl, length)#
Return
(start, stop, step, slicelen)viaPySlice_GetIndicesEx.Notes
Clips like normal Python slices against
length.