Home
last modified time | relevance | path

Searched refs:lslices (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]])]
381 llst[lslices[0]] = rlst
384 def cmp_structure(llst, rlst, lslices, rslices): argument
386 lshape = slice_shape(llst, lslices)
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)
559 lslices = [0] * ndim
[all …]