bundles / IPython 9.5.0 / IPython / core / interactiveshell / InteractiveShell / drop_by_id
function
IPython.core.interactiveshell:InteractiveShell.drop_by_id
Signature
def drop_by_id ( self , variables ) Summary
Remove a dict of variables from the user namespace, if they are the same as the values in the dictionary.
Extended Summary
This is intended for use by extensions: variables that they've added can be taken back out if they are unloaded, without removing any that the user has overwritten.
Parameters
variables: dictA dictionary mapping object names (as strings) to the objects.
Aliases
-
IPython.InteractiveShell.drop_by_id