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

Method flush

IPython/lib/pretty.py:297–302  ·  view source on GitHub ↗

Flush data that is left in the buffer.

(self)

Source from the content-addressed store, hash-verified

295 self.text(close)
296
297 def flush(self):
298 """Flush data that is left in the buffer."""
299 for data in self.buffer:
300 self.output_width += data.output(self.output, self.output_width)
301 self.buffer.clear()
302 self.buffer_width = 0
303
304
305def _get_mro(obj_class):

Callers 7

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

Calls 1

outputMethod · 0.45

Tested by 1

test_basic_classFunction · 0.36