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

Method write

IPython/utils/io.py:141–145  ·  view source on GitHub ↗

Write data to both channels.

(self, data)

Source from the content-addressed store, hash-verified

139 self._closed = True
140
141 def write(self, data):
142 """Write data to both channels."""
143 self.file.write(data)
144 self.ostream.write(data)
145 self.ostream.flush()
146
147 def flush(self):
148 """Flush both channels."""

Callers 15

runMethod · 0.45
update_whatsnew.pyFile · 0.45
mainFunction · 0.45
retar.pyFile · 0.45
backport_prFunction · 0.45
mknbindex.pyFile · 0.45
temp_pyfileFunction · 0.45
_set_term_title_xtermFunction · 0.45
format2Method · 0.45

Calls 1

flushMethod · 0.45

Tested by 9

setUpMethod · 0.36
test_ipython_embedFunction · 0.36
test_deepreloadFunction · 0.36
write_fileMethod · 0.36
new_moduleMethod · 0.36
runMethod · 0.36
haltMethod · 0.36
add_coverageMethod · 0.36