finding out the calling function

Reinhold Birkenfeld reinhold-birkenfeld-nospam at
Wed Jul 27 10:24:32 CEST 2005

flupke wrote:
> Hi,
> i have a property in a class that gets changed
> and i would want to know who changes it.
> Is there a way i can find out the calling function of a property?

You're looking for sys._getframe.


More information about the Python-list mailing list