functions, list, default parameters

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Nov 2 04:31:18 CET 2010

In message <8j1seqFa1eU2 at>, 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