{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / interactiveshell / InteractiveShell / reset

function

IPython.core.interactiveshell:InteractiveShell.reset

source: /dev/ipython/IPython/core/interactiveshell.py:1498

Signature

def reset(self, new_session = True, aggressive = False)

Summary

Clear all internal namespaces, and attempt to release references to user objects.

Extended Summary

If new_session is True, a new history session will be opened.

Aliases

  • IPython.InteractiveShell.reset