properties & exceptions
Mike C. Fletcher
mcfletch at rogers.com
Sun Apr 13 21:05:39 EDT 2003
Any chance you don't have a __metaclass__ = type declaration? You don't
subclass object in the example you cite, and without one of those
properties just don't work.
class FOO(object):
HTH,
Mike
Saveen Reddy [MSFT] wrote:
...
>class FOO :
>
>
...
> bar1 = property ( _getbar1 )
> bar2 = property ( _getbar2 )
>
>
...
_______________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
More information about the Python-list
mailing list