Added flush(), for completeness.
diff --git a/Tools/idle/OutputWindow.py b/Tools/idle/OutputWindow.py
index c13b3e4..456c45b 100644
--- a/Tools/idle/OutputWindow.py
+++ b/Tools/idle/OutputWindow.py
@@ -41,6 +41,9 @@
     def writelines(self, l):
         map(self.write, l)
 
+    def flush(self):
+        pass
+
     # Our own right-button menu
 
     rmenu_specs = [