Module: utils.frame

Utilities for working with stack frames.

1 Function

IPython.utils.frame.extract_module_locals(depth: int = 0) tuple[ModuleType, dict[str, Any]]

Returns (module, locals) of the function depth frames away from the caller