[Python-ideas] clear() method for lists

George Sakkis george.sakkis at gmail.com
Fri Feb 12 08:26:15 CET 2010


Speaking of new potential list methods, how about list.get(index,
default=None) ala dict.get ? I'm sure this has must have come up at
some point but can't find it ATM.

George



More information about the Python-ideas mailing list