[Pyrex] Default class attributes

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Feb 6 22:56:33 UTC 2007


Pierre GM wrote:
> I guess that if I really need a class 
> attribute, I can always wrap it in a property.

If you just want an attribute shared between
instances, that will work. It won't be quite like
a true class attribute, though, because it won't
be accessible via the class.

--
Greg



More information about the Pyrex mailing list