Meta

ornithology.get_current_func_name()[source]

Return the name of the function this function is called from.

def foo():
    print(get_current_func_name())

foo()  # prints "foo"
Return type:

str