Home
last modified time | relevance | path

Searched refs:lslices (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]])]
388 llst[lslices[0]] = rlst
391 def cmp_structure(llst, rlst, lslices, rslices): argument
393 lshape = slice_shape(llst, lslices)
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)
566 lslices = [0] * ndim
[all …]