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

Method flush

IPython/lib/pretty.py:315–320  ·  view source on GitHub ↗

Flush data that is left in the buffer.

(self)

Source from the content-addressed store, hash-verified

313 self.text(close)
314
315 def flush(self):
316 """Flush data that is left in the buffer."""
317 for data in self.buffer:
318 self.output_width += data.output(self.output, self.output_width)
319 self.buffer.clear()
320 self.buffer_width = 0
321
322
323def _get_mro(obj_class):

Callers 6

breakableMethod · 0.95
break_Method · 0.95
prettyFunction · 0.45
pprintFunction · 0.45
showMethod · 0.45
show_allMethod · 0.45

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected