[Tutor] The trap of the year

Karim karim.liateni at free.fr
Tue Jan 25 22:28:12 CET 2011


Hello Bob,

I know this fact for function but in this case this is not a function 
but a constructor method of a class.
The impact is not the same because all instance share the same argument 
parameter.This a kind
of singleton argument :-) . I believed that the constructor will create 
each time a new argument init.


Regards
Karim

On 01/25/2011 10:20 PM, bob gailer wrote:
> *values are evaluated when th*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110125/d61a7829/attachment-0001.html>


More information about the Tutor mailing list