On 01/25/2011 10:12 PM, Jerry Hill wrote:
On Tue, Jan 25, 2011 at 3:41 PM, Karim <[email protected] <mailto:[email protected]>> wrote:

    I am not really understanding why my init in the class made it
    refers to the same list object.
    What is the difference with 2nd example directly at the prompt?


See http://effbot.org/zone/default-values.htm

--
Jerry


_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Thanks for the link jerry!

Regards
Karim
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to