From 0daa13b1884cb0744842fc20ca03b43b69c94eba Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 22 Jun 1995 18:45:04 +0000 Subject: [PATCH] set softspace to 0 in __init__ --- Lib/StringIO.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/StringIO.py b/Lib/StringIO.py index 715e71e76f0..c9794872637 100644 --- a/Lib/StringIO.py +++ b/Lib/StringIO.py @@ -33,6 +33,7 @@ class StringIO: self.buf = buf self.pos = 0 self.closed = 0 + self.softspace = 0 def close(self): if not self.closed: self.closed = 1