summaryrefslogtreecommitdiffstats
path: root/Lib/StringIO.py
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1995-07-19 11:21:21 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1995-07-19 11:21:21 (GMT)
commitaa3e163fa1edd89690b78c6db2bb209dabe1bc9a (patch)
tree15c0a3014d30ad7118f9fc7bc12baedbf0d58bf0 /Lib/StringIO.py
parentff99a72f53ca1007403e1bf3fcc2c6800370119b (diff)
downloadcpython-aa3e163fa1edd89690b78c6db2bb209dabe1bc9a.zip
cpython-aa3e163fa1edd89690b78c6db2bb209dabe1bc9a.tar.gz
cpython-aa3e163fa1edd89690b78c6db2bb209dabe1bc9a.tar.bz2
Added flush() method.
Diffstat (limited to 'Lib/StringIO.py')
-rw-r--r--Lib/StringIO.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/StringIO.py b/Lib/StringIO.py
index c979487..90f848a 100644
--- a/Lib/StringIO.py
+++ b/Lib/StringIO.py
@@ -81,6 +81,8 @@ class StringIO:
self.pos = newpos
def writelines(self, list):
self.write(string.joinfields(list, ''))
+ def flush(self):
+ pass
def getvalue(self):
return self.buf