Newbie: question regarding references and class relationships
Rui Maciel
rui.maciel at gmail.com
Mon Jun 10 16:31:43 EDT 2013
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
More information about the Python-list
mailing list