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

Method finish_displayhook

IPython/core/displayhook.py:263–267  ·  view source on GitHub ↗

Finish up all displayhook activities.

(self)

Source from the content-addressed store, hash-verified

261 format_dict['text/plain']
262
263 def finish_displayhook(self):
264 """Finish up all displayhook activities."""
265 sys.stdout.write(self.shell.separate_out2)
266 sys.stdout.flush()
267 self._is_active = False
268
269 def __call__(self, result=None):
270 """Printing with history cache management.

Callers 1

__call__Method · 0.95

Calls 2

writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected