python needs leaning stuff from other language
Rhodri James
rhodri at wildebst.demon.co.uk
Thu Apr 2 22:27:05 EDT 2009
On Fri, 03 Apr 2009 02:40:08 +0100, Zac Burns <zac256 at gmail.com> wrote:
> Is it really worth it to not implement list.clear and answer this
> question over and over again?
For some value of "over and over again" that allows this to be the
first time I've seen it several months of reading the newsgroup.
> I see no reason that a list shouldn't have a .clear method.
This I wouldn't disagree with, though I imagine it will increase
the frequency of complaints from people who haven't understood
Python's assignment model.
--
Rhodri James *-* Wildebeeste Herder to the Masses
More information about the Python-list
mailing list