Name of current method

Thomas Guettler pan-newsreader at thomas-guettler.de
Thu Nov 28 14:26:03 EST 2002


Hi!

How can I get the name of the method which is
executed?

Example:

def mymethod(self):
	print self.__magic__

--> "mymethod"

 thomas

-- 
Thomas Guettler <guettli at thomas-guettler.de>
http://www.thomas-guettler.de



More information about the Python-list mailing list