Name of the calling method

Kent Johnson kent at kentsjohnson.com
Sat Apr 8 23:49:55 EDT 2006


Saptarshi Guha wrote:
> Hello,
>   Say Boo is a class with a method called x. In the body of x i wish to
> know from which method x was called. How would i do this?
>  Thanks in advance
> Saptarshi
> 
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66062

Kent



More information about the Python-list mailing list