[Python-ideas] clear() method for lists

Christian Heimes lists at cheimes.de
Fri Feb 5 22:20:32 CET 2010

Guido van Rossum schrieb:
> Ping Christian. :-)

Pong ;)

I have to concur with Raymond. IMHO there is no real need for a
list.clear() method. Do we want to extend the API for the sake of a
common way to clear a mutable container?


PS: The patch was merely a finger exercise.

More information about the Python-ideas mailing list