Module Expr Str Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr TryExcept body ImportFrom alias If AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AugAssignSub AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Delete SubscriptDel NameLoad Index NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Pass orelse If CompareIs NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list
N/A N/A 
A context manager for managing things injected into :mod:`builtins`.

Authors:

* Brian Granger
* Fernando Perez
 N/A builtins IPython.config.configurable Configurable IPython.utils.traitlets Instance __BuiltinUndefined N/A object N/A N/A N/A N/A BuiltinUndefined N/A __BuiltinUndefined __HideBuiltin N/A object N/A N/A N/A N/A HideBuiltin N/A __HideBuiltin BuiltinTrap N/A Configurable N/A N/A shell N/A Instance IPython.core.interactiveshell.InteractiveShellABC __init__ N/A N/A self shell N/A None N/A N/A N/A N/A N/A super BuiltinTrap self __init__ shell shell config None N/A N/A self _orig_builtins N/A N/A N/A self _nested_level 0 N/A N/A self shell shell N/A N/A self auto_builtins N/A exit quit get_ipython HideBuiltin HideBuiltin N/A N/A self shell get_ipython N/A N/A IPython.lib deepreload N/A N/A N/A self shell deep_reload N/A N/A N/A N/A self auto_builtins N/A reload N/A deepreload reload N/A N/A N/A N/A self auto_builtins N/A dreload N/A deepreload reload N/A N/A N/A ImportError N/A N/A N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A self _nested_level 0 N/A N/A N/A N/A self activate N/A N/A self _nested_level 1 N/A self N/A __exit__ N/A N/A self type value traceback N/A N/A N/A N/A N/A self _nested_level 1 N/A N/A N/A N/A self deactivate N/A N/A self _nested_level 1 N/A False N/A add_builtin N/A N/A self key value N/A N/A N/A Add a builtin and save the original. N/A bdict N/A builtins __dict__ N/A orig N/A N/A bdict get key BuiltinUndefined N/A N/A value HideBuiltin N/A N/A N/A orig BuiltinUndefined N/A N/A N/A N/A self _orig_builtins N/A key orig N/A N/A bdict N/A key N/A N/A N/A N/A self _orig_builtins N/A key orig N/A N/A bdict N/A key value N/A remove_builtin N/A N/A self key N/A N/A N/A Remove an added builtin and re-set the original. N/A N/A N/A orig N/A N/A N/A self _orig_builtins pop key N/A N/A N/A KeyError N/A N/A N/A N/A N/A orig BuiltinUndefined N/A N/A N/A N/A builtins __dict__ N/A key N/A N/A N/A N/A builtins __dict__ N/A key orig N/A activate N/A N/A self N/A N/A N/A Store ipython references in the builtins namespace. N/A add_builtin N/A self add_builtin N/A N/A name func N/A N/A N/A self auto_builtins items N/A N/A N/A add_builtin name func N/A N/A N/A N/A builtins __dict__ setdefault __IPYTHON__active 0 N/A deactivate N/A N/A self N/A N/A N/A Remove any builtins which might have been added by add_builtins, or
        restore overwritten ones to their previous values. N/A remove_builtin N/A self remove_builtin N/A key N/A list N/A N/A N/A self _orig_builtins keys N/A N/A N/A remove_builtin key N/A N/A N/A N/A self _orig_builtins clear N/A N/A self _builtins_added False N/A N/A N/A N/A N/A builtins __dict__ N/A __IPYTHON__active N/A N/A N/A KeyError N/A N/A N/A N/A