summaryrefslogtreecommitdiffstats
path: root/Tools/idle/PyShell.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-03-29 14:52:28 (GMT)
committerGuido van Rossum <guido@python.org>1999-03-29 14:52:28 (GMT)
commit825df2a14d87bf0b668ee7e0a16662c6efc0853c (patch)
tree0002b337c8b77cf74a7c17b6ad88fbecda987a9f /Tools/idle/PyShell.py
parent02ef28b9a93c12586a7cee6bb731b9be8b529ff4 (diff)
downloadcpython-825df2a14d87bf0b668ee7e0a16662c6efc0853c.zip
cpython-825df2a14d87bf0b668ee7e0a16662c6efc0853c.tar.gz
cpython-825df2a14d87bf0b668ee7e0a16662c6efc0853c.tar.bz2
At Tim Peters' recommendation, add a dummy flush() method to PseudoFile.
Diffstat (limited to 'Tools/idle/PyShell.py')
-rw-r--r--Tools/idle/PyShell.py3
1 files changed, 3 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