def multislice_assign(llst, rlst, lslices, rslices):
 if (cmp_structure(llst, rlst, lslices, rslices) < 0):
  raise ValueError('lvalue and rvalue have different structures')
 return m_assign(llst, rlst, lslices, rslices)

def multislice_assign ( llst , rlst , lslices , rslices ) : if ( cmp_structure ( llst , rlst , lslices , rslices ) < 0 ) : raise ValueError ( 'lvalue and rvalue have different structures' ) return m_assign ( llst , rlst , lslices , rslices )
return llst after assigning: llst[lslices] = rlst[rslices] .