How do I access the property info in this example ?

David Poundall david at
Wed Oct 26 15:17:15 CEST 2005

How do I access the property information in this example ?

class C(object):
    def getx(self): return self.__x
    def setx(self, value): self.__x = value
    def delx(self): del self.__x
    x = property(getx, setx, delx, "I'm the 'x' property.")

I would like to get at ...

"I'm the 'x' property."

... if at all possible.


More information about the Python-list mailing list