Nazwa metody Pythona
import inspect
def bar():
print("My name is", inspect.stack()[0].function)
miletoo
import inspect
def bar():
print("My name is", inspect.stack()[0].function)