Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_buffer.py369 def m_assign(llst, rlst, lslices, rslices): argument
386 rlst = [m_assign(l, r, lslices[1:], rslices[1:])
387 for l, r in zip(llst[lslices[0]], rlst[rslices[0]])]
391 def cmp_structure(llst, rlst, lslices, rslices): argument
394 rshape = slice_shape(rlst, rslices)
404 def multislice_assign(llst, rlst, lslices, rslices): argument
406 if cmp_structure(llst, rlst, lslices, rslices) < 0:
408 return m_assign(llst, rlst, lslices, rslices)
567 rslices = [0] * ndim
572 rslices[n] = randslice_from_slicelen(slicelen, l)
[all …]