ID EN
Logging

findCaller

Python 3.11

Finds the caller’s source filename and line number. Returns the filename, line number, function name and stack information as a 4-element tuple. The stack information is returned as None unless stack_info is True.

Syntax

PYTHON
findCaller(stack_info=False, stacklevel=1)

See Also

debug()