MCPcopy Create free account
hub / github.com/ipython/ipython / cleanup

Method cleanup

IPython/core/interactiveshell.py:3787–3788  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3785 self.hooks.shutdown_hook()
3786
3787 def cleanup(self):
3788 self.restore_sys_module_state()
3789
3790
3791 # Overridden in terminal subclass to change prompts

Callers 2

test_get_ipython_dir_3Function · 0.45
tearDownMethod · 0.45

Calls 1

Tested by 2

test_get_ipython_dir_3Function · 0.36
tearDownMethod · 0.36