Arc Forumnew | comments | leaders | submitlogin
2 points by akkartik 4719 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.