How do I access the property info in this example ?

David Poundall david at jotax.com
Wed Oct 26 09:17:15 EDT 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.

TIA




More information about the Python-list mailing list