commit | aa3e163fa1edd89690b78c6db2bb209dabe1bc9a | [log] [tgz] |
---|---|---|
author | Sjoerd Mullender <sjoerd@acm.org> | Wed Jul 19 11:21:21 1995 +0000 |
committer | Sjoerd Mullender <sjoerd@acm.org> | Wed Jul 19 11:21:21 1995 +0000 |
tree | 15c0a3014d30ad7118f9fc7bc12baedbf0d58bf0 | |
parent | ff99a72f53ca1007403e1bf3fcc2c6800370119b [diff] |
Added flush() method.
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 @@ self.pos = newpos def writelines(self, list): self.write(string.joinfields(list, '')) + def flush(self): + pass def getvalue(self): return self.buf