ID EN
Inspect

currentframe

Python 3.11

Return the frame object for the caller’s stack frame.

Syntax

PYTHON
inspect.currentframe()