bundles / IPython 9.13.0 / IPython / utils / frame / extract_vars_above
function
IPython.utils.frame:extract_vars_above
source: /IPython/utils/frame.py :58
Signature
def extract_vars_above ( * names : str ) → dict[str, Any] Summary
Extract a set of variables by name from another frame.
Extended Summary
Similar to extractVars(), but with a specified depth of 1, so that names are extracted exactly from above the caller.
This is simply a convenience function so that the very common case (for us) of skipping exactly 1 frame doesn't have to construct a special dict for keyword passing.
Aliases
-
IPython.utils.frame.extract_vars_above