On 01/25/2011 10:12 PM, Jerry Hill wrote:
On Tue, Jan 25, 2011 at 3:41 PM, Karim <karim.liat...@free.fr
<mailto:karim.liat...@free.fr>> 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 - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Thanks for the link jerry!
Regards
Karim
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor