How can I get access to the function called as a property?

Benjamin Peterson benjamin at python.org
Mon May 25 04:07:58 CEST 2009


Matthew Wilson <matt <at> tplus1.com> writes:

> 
> I use a @property decorator to turn some methods on a class into
> properties.  I want to be able to access some of the attributes of the
> original funtion, but I don't know how to get to it.

my_class.__dict__["some_property].(fget|fdel|fset)






More information about the Python-list mailing list