summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/idle/PyShell.py3
-rw-r--r--Tools/idle/ScriptBinding.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/Tools/idle/PyShell.py b/Tools/idle/PyShell.py
index e197ad6..8bee5d5 100644
--- a/Tools/idle/PyShell.py
+++ b/Tools/idle/PyShell.py
@@ -593,6 +593,9 @@ class PseudoFile:
def writelines(self, l):
map(self.write, l)
+ def flush(self):
+ pass
+
def main():
debug = 0
diff --git a/Tools/idle/ScriptBinding.py b/Tools/idle/ScriptBinding.py
index 0e7810b..a1a7f2c 100644
--- a/Tools/idle/ScriptBinding.py
+++ b/Tools/idle/ScriptBinding.py
@@ -70,6 +70,9 @@ class PseudoFile:
def writelines(self, l):
map(self.write, l)
+ def flush(self):
+ pass
+
class ScriptBinding: