You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / utils / frame / extract_vars_above

function

IPython.utils.frame:extract_vars_above

source: /IPython/utils/frame.py :55

Signature

def   extract_vars_above ( * names : list[str] )

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