Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_buffer.py695 def rslice(n, allow_empty=False): function
706 yield rslice(n, allow_empty)
712 yield tuple(rslice(shape[n]) for n in range(ndim))
715 yield tuple(rslice(shape[n], allow_empty=True) for n in range(ndim))
1765 for rslice in genslices(5):
1778 rval = lst[rslice]
1779 lst[lslice] = lst[rslice]
1786 nd[lslice] = nd[rslice]
1801 mv[lslice] = mv[rslice]
3107 for rslice in genslices(n):
[all …]