python needs leaning stuff from other language

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Apr 3 17:51:13 CEST 2009


On Fri, 03 Apr 2009 11:41:10 -0400, Mel wrote:

> Ben Finney wrote:
> 
>> I think it would also be better to have One (and prefereably Only One)
>> Obvious Way To Do It. That obvious way, for those who work with
>> Python's ‘set’ and ‘dict’, is a ‘clear’ method. It seems best to have
>> ‘list’ conform with this also.
> 
> Does that mean a one-off special case rule to forbid slices having a
> default?

Why would it do that?


-- 
Steven



More information about the Python-list mailing list