bundles / IPython 9.18.0.dev / IPython / utils / frame / extract_module_locals
function
IPython.utils.frame:extract_module_locals
source: /IPython/utils/frame.py:26
Signature
def extract_module_locals(depth: int = 0) → tuple[ModuleType, dict[str, Any]]Summary
Returns (module, locals) of the function depth frames away from the caller
Aliases
IPython.extract_module_locals