bundles / IPython 9.14.0.dev / IPython / core / interactiveshell / InteractiveShell / del_var
function
IPython.core.interactiveshell:InteractiveShell.del_var
Signature
def del_var ( self , varname , by_name = False ) Summary
Delete a variable from the various namespaces, so that, as far as possible, we're not keeping any hidden references to it.
Parameters
varname: strThe name of the variable to delete.
by_name: boolIf True, delete variables with the given name in each namespace. If False (default), find the variable in the user namespace, and delete references to it.
Aliases
-
IPython.InteractiveShell.del_var