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

Method clear_cout

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

Source from the content-addressed store, hash-verified

398 shutil.rmtree(self.tmp_profile_dir, ignore_errors=True)
399
400 def clear_cout(self):
401 self.cout.seek(0)
402 self.cout.truncate(0)
403
404 def process_input_line(self, line, store_history):
405 return self.process_input_lines([line], store_history=store_history)

Callers 5

process_inputMethod · 0.95
save_imageMethod · 0.95
process_pure_pythonMethod · 0.95
setupMethod · 0.80
teardownMethod · 0.80

Calls 1

seekMethod · 0.80

Tested by

no test coverage detected