]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
set softspace to 0 in __init__
authorGuido van Rossum <guido@python.org>
Thu, 22 Jun 1995 18:45:04 +0000 (18:45 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 22 Jun 1995 18:45:04 +0000 (18:45 +0000)
Lib/StringIO.py

index 715e71e76f099b1f9b8f22215ecb8f137ac474bf..c9794872637323ee34e5eec2c1bc95a721ab9a28 100644 (file)
@@ -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