[Tutor] The trap of the year
Karim
karim.liateni at free.fr
Tue Jan 25 22:29:10 CET 2011
On 01/25/2011 10:12 PM, Jerry Hill wrote:
> On Tue, Jan 25, 2011 at 3:41 PM, Karim <karim.liateni at free.fr
> <mailto:karim.liateni at 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 at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
Thanks for the link jerry!
Regards
Karim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110125/902e38c5/attachment.html>
More information about the Tutor
mailing list