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

bundles / IPython 9.10.0 / IPython / core / magics / namespace / NamespaceMagics / xdel

function

IPython.core.magics.namespace:NamespaceMagics.xdel

source: /IPython/core/magics/namespace.py :707

Signature

def   xdel ( self parameter_s = '' )

Summary

Delete a variable, trying to clear it from anywhere that IPython's machinery has references to it. By default, this uses the identity of the named object in the user namespace to remove references held under other names. The object is also removed from the output history.

Extended Summary

Options

-nDelete the specified name from all namespaces, without checking their identity.

Aliases

  • IPython.core.magics.NamespaceMagics.xdel