Dave Angel wrote:

> So why do you also have an instance attribute of the same name?

Thanks to this thread, and after a bit of reading, I've finally managed to 
discover that in Python there are class attributes and instance attributes, 
the former working similarly to C++'s static member variables and the latter 
being more like proper member variables.

And there was light.

Python.org's tutorial could cover this issue a bit better than it does.


Thanks for the help,
Rui Maciel
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to