We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328fd7b commit 3f67a62Copy full SHA for 3f67a62
bpython/cli.py
@@ -105,6 +105,10 @@ def __init__(self, interface):
105
def __iter__(self):
106
return iter(self.readlines())
107
108
+ def flush(self):
109
+ """Flush the internal buffer. This is a no-op. Flushing stdin
110
+ doesn't make any sense anyway."""
111
+
112
def write(self, value):
113
# XXX IPython expects sys.stdin.write to exist, there will no doubt be
114
# others, so here's a hack to keep them happy
0 commit comments