[Tutor] The trap of the year
Jerry Hill
malaclypse2 at gmail.com
Tue Jan 25 22:12:11 CET 2011
On Tue, Jan 25, 2011 at 3:41 PM, Karim <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110125/b184423d/attachment-0001.html>
More information about the Tutor
mailing list