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

Method flush

IPython/utils/io.py:72–75  ·  view source on GitHub ↗

Flush both channels.

(self)

Source from the content-addressed store, hash-verified

70 self.ostream.flush()
71
72 def flush(self):
73 """Flush both channels."""
74 self.file.flush()
75 self.ostream.flush()
76
77 def __del__(self):
78 if not self._closed:

Callers 12

closeMethod · 0.95
writeMethod · 0.45
temp_pyfileFunction · 0.45
process_handlerFunction · 0.45
systemMethod · 0.45
showMethod · 0.45
_stdout_rawMethod · 0.45
_stderr_rawMethod · 0.45
set_input_modeFunction · 0.45
__exit__Method · 0.45
__exit__Method · 0.45
xsysFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected