get_current_func_name()
Return the name of the function this function is called from.
def foo(): print(get_current_func_name()) foo() # prints "foo"
str