emptying a list

lallous lallous at lgwm.org
Thu Oct 1 17:30:09 CEST 2009


Hello

What is faster when clearing a list?

del L[:]

or

L = []

--
Elias 



More information about the Python-list mailing list