Newbie: question regarding references and class relationships

Rui Maciel rui.maciel at gmail.com
Mon Jun 10 09:59:43 EDT 2013


Peter Otten wrote:

> Don't add
> 
>>position = []
> 
> to your code. That's not a declaration, but a class attribute and in the
> long run it will cause nothing but trouble.

Why's that?


Rui Maciel



More information about the Python-list mailing list