On Fri, 03 Apr 2009 02:40:08 +0100, Zac Burns <zac...@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 -- http://mail.python.org/mailman/listinfo/python-list