Finding the calling method

Mark itcram at
Tue Jan 14 21:26:47 CET 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?



More information about the Python-list mailing list