[Pyrex] Default class attributes

Pierre GM pgmdevlist at gmail.com
Tue Feb 6 20:33:22 UTC 2007


On Tuesday 06 February 2007 05:30:20 Greg Ewing wrote:
> Pierre GM wrote:
> > All,
> > How can I define a default for a class attribute ?
>
> I'm not sure what you mean -- Pyrex extension types
> can't have class attributes at all.

OK then, that's what I wanted to know. I guess that if I really need a class 
attribute, I can always wrap it in a property.
Thanks a lot.




More information about the Pyrex mailing list