functions, list, default parameters

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Oct 30 02:31:53 EDT 2010


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.

-- 
Greg



More information about the Python-list mailing list