Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_buffer.py703 def rslice(n, allow_empty=False): function
714 yield rslice(n, allow_empty)
720 yield tuple(rslice(shape[n]) for n in range(ndim))
723 yield tuple(rslice(shape[n], allow_empty=True) for n in range(ndim))
1792 for rslice in genslices(5):
1805 rval = lst[rslice]
1806 lst[lslice] = lst[rslice]
1813 nd[lslice] = nd[rslice]
1828 mv[lslice] = mv[rslice]
3138 for rslice in genslices(n):
[all …]