functions, list, default parameters

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Nov 1 23:31:18 EDT 2010


In message <8j1seqFa1eU2 at mid.individual.net>, Gregory Ewing wrote:

> Steven D'Aprano wrote:
> 
>> And how does Python know whether some arbitrary default object is mutable
>> or not?
> 
> It doesn't, that's the whole point.

Of course it knows. It is the one defining the concept in the first place, 
after all.



More information about the Python-list mailing list