MCPcopy Index your code
hub / github.com/ipython/ipython / teardown

Method teardown

IPython/sphinxext/ipython_directive.py:998–1002  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

996 return rgxin, rgxout, promptin, promptout
997
998 def teardown(self):
999 # delete last bookmark
1000 self.shell.process_input_line('bookmark -d ipy_savedir',
1001 store_history=False)
1002 self.shell.clear_cout()
1003
1004 def _is_inside_excluded_only(self):
1005 """Return True if inside an ``only`` node whose condition is false."""

Callers 1

runMethod · 0.95

Calls 2

process_input_lineMethod · 0.80
clear_coutMethod · 0.80

Tested by

no test coverage detected