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

bundles / IPython 9.18.0.dev / IPython / core / interactiveshell / InteractiveShell / reset_selective

function

IPython.core.interactiveshell:InteractiveShell.reset_selective

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

Signature

def reset_selective(self, regex = None)

Summary

Clear selective variables from internal namespaces based on a specified regular expression.

Parameters

regex : string or compiled pattern, optional

A regular expression pattern that will be used in searching variable names in the users namespaces.

Aliases

  • IPython.InteractiveShell.reset_selective