Arc Forumnew | comments | leaders | submitlogin
2 points by akkartik 4962 days ago | link | parent

Ah.

And del is identical to assigning to [].

  >>> foo = [0, 1, 2]
  >>> foo[0:1] = []
  >>> foo
  [1, 2]
I stand corrected.