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

Method flush

bpython/curtsiesfrontend/repl.py:214–216  ·  view source on GitHub ↗

Flush the internal buffer. This is a no-op. Flushing stdin doesn't make any sense anyway.

(self)

Source from the content-addressed store, hash-verified

212 return True
213
214 def flush(self) -> None:
215 """Flush the internal buffer. This is a no-op. Flushing stdin
216 doesn't make any sense anyway."""
217
218 def write(self, value):
219 # XXX IPython expects sys.stdin.write to exist, there will no doubt be

Callers 9

load_temp_configMethod · 0.45
test_exec_dunder_fileMethod · 0.45
test_simpleMethod · 0.45
test_exceptionMethod · 0.45
test_interactiveMethod · 0.45
focus_on_subprocessMethod · 0.45
pagerMethod · 0.45

Calls

no outgoing calls

Tested by 7

load_temp_configMethod · 0.36
test_exec_dunder_fileMethod · 0.36
test_simpleMethod · 0.36
test_exceptionMethod · 0.36
test_interactiveMethod · 0.36