Finding the calling method

Mark itcram at yahoo.com
Tue Jan 14 15:26:47 EST 2003


I don't know if you there is a function or method you can call to find
this.  Inside a method(method A) I'm calling another method(method B)
inside the same class.  Is there a way while I'm inside method B to
find out what method called it, which would be method A.  Do I have to
look at the stack or is there a function to call?

Thanks!!!!

-Mark




More information about the Python-list mailing list