Steven D'Aprano wrote:
> Perhaps it is arguable that there is no need for a clear method because
> L[:] = [] is so easy to do. Personally, while I agree that it is easy, it
> is hardly intuitive or obvious, and I too would prefer an explicit clear
> method for mutable sequences.

Possibly another case where "patches are welcome"...

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to