[Python-ideas] Set Syntax
mikegraham at gmail.com
Tue Nov 23 23:18:57 CET 2010
On Tue, Nov 23, 2010 at 5:16 PM, average <dreamingforward at gmail.com> wrote:
> On Tue, Nov 23, 2010 at 12:59 PM, Guido van Rossum <guido at python.org> wrote:
>> FWIW I'm fine with adding list.clear() to 3.3.
> How about calling it container.clear()? ;^)
1) Because that's not how Python's type system works, and
2) Because many containers are immutable?
More information about the Python-ideas