[Python-ideas] clear() method for lists

Simon Brunning simon at brunningonline.net
Thu Feb 11 16:00:30 CET 2010


On 11 February 2010 14:51, Gerald Britton <gerald.britton at gmail.com> wrote:
> Say you had a problem where you started with a basic tuple, then
> needed to add items to it to produce some result.

Bzzzz! Tuples are immutable - you can't add items to them.

-- 
Cheers,
Simon B.



More information about the Python-ideas mailing list