ID EN
Sys

_current_frames

Python 3.11

Return a dictionary mapping each thread’s identifier to the topmost stack frame currently active in that thread at the time the function is called. Note that functions in the traceback module can build the call stack given such a frame.

Syntax

PYTHON
sys._current_frames()

See Also

traceback auditing event