Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_buffer.py362 def m_assign(llst, rlst, lslices, rslices): argument
379 rlst = [m_assign(l, r, lslices[1:], rslices[1:])
380 for l, r in zip(llst[lslices[0]], rlst[rslices[0]])]
384 def cmp_structure(llst, rlst, lslices, rslices): argument
387 rshape = slice_shape(rlst, rslices)
397 def multislice_assign(llst, rlst, lslices, rslices): argument
399 if cmp_structure(llst, rlst, lslices, rslices) < 0:
401 return m_assign(llst, rlst, lslices, rslices)
560 rslices = [0] * ndim
565 rslices[n] = randslice_from_slicelen(slicelen, l)
[all …]