python needs leaning stuff from other language

Giampaolo Rodola' gnewsg at gmail.com
Fri Apr 3 21:52:52 EDT 2009


If "there should be one-- and preferably only one --obvious way to do
it" then my_list.clear() is more obvious than del my_list[:].
Honestly I'm a little surprised that such a topic hasn't been raised
before.


--- Giampaolo
http://code.google.com/p/pyftpdlib



More information about the Python-list mailing list