libb.get_calling_function

get_calling_function()[source]

Find the calling function in many common cases.

Returns:

The calling function object.

Raises:

AttributeError – If function cannot be found.

See also

See tests/test_func.py for usage examples.