From: Sjoerd Mullender Date: Wed, 19 Jul 1995 11:21:21 +0000 (+0000) Subject: Added flush() method. X-Git-Tag: v1.3b1~169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa3e163fa1edd89690b78c6db2bb209dabe1bc9a;p=thirdparty%2FPython%2Fcpython.git Added flush() method. --- diff --git a/Lib/StringIO.py b/Lib/StringIO.py index c97948726373..90f848a4d556 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