MCPcopy Index your code
hub / github.com/bpython/bpython / write

Method write

bpython/curtsiesfrontend/coderunner.py:217–219  ·  view source on GitHub ↗
(self, s, *args, **kwargs)

Source from the content-addressed store, hash-verified

215 self._real_fileobj = real_fileobj
216
217 def write(self, s, *args, **kwargs):
218 self.on_write(s, *args, **kwargs)
219 return self.coderunner.request_from_main_context(force_refresh=True)
220
221 # Some applications which use curses require that sys.stdout
222 # have a method called fileno. One example is pwntools. This

Callers 2

test_bytesMethod · 0.95
writelinesMethod · 0.95

Calls 1

Tested by 1

test_bytesMethod · 0.76