This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / interactiveshell / InteractiveShell / drop_by_id

function

IPython.core.interactiveshell:InteractiveShell.drop_by_id

source: /IPython/core/interactiveshell.py :1638

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 : dict

A dictionary mapping object names (as strings) to the objects.

Aliases

  • IPython.InteractiveShell.drop_by_id

Referenced by