Confounded by Python objects
boblatest at googlemail.com
boblatest at googlemail.com
Thu Jul 24 06:10:49 EDT 2008
On Jul 24, 11:59 am, Fredrik Lundh <fred... at pythonware.com> wrote:
> tip: if you're not 100% sure why you would want to put an attribute
> on the class level, don't do it.
The reason I did it was sort of C++ish (that's where I come from): I
somehow wanted a list of attributes on the class level. More for
readibility than anything elase, really.
> hope this helps!
Yup, did the trick. Thanks!
robert
More information about the Python-list
mailing list