diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 1995-07-19 11:21:21 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 1995-07-19 11:21:21 (GMT) |
commit | aa3e163fa1edd89690b78c6db2bb209dabe1bc9a (patch) | |
tree | 15c0a3014d30ad7118f9fc7bc12baedbf0d58bf0 /Lib/StringIO.py | |
parent | ff99a72f53ca1007403e1bf3fcc2c6800370119b (diff) | |
download | cpython-aa3e163fa1edd89690b78c6db2bb209dabe1bc9a.zip cpython-aa3e163fa1edd89690b78c6db2bb209dabe1bc9a.tar.gz cpython-aa3e163fa1edd89690b78c6db2bb209dabe1bc9a.tar.bz2 |
Added flush() method.
Diffstat (limited to 'Lib/StringIO.py')
-rw-r--r-- | Lib/StringIO.py | 2 |
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 |