{ } Raw JSON

bundles / IPython 9.13.0 / IPython / core / interactiveshell / InteractiveShell / reset_selective

function

IPython.core.interactiveshell:InteractiveShell.reset_selective

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

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