summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-06-22 18:45:04 +0000
committerGuido van Rossum <guido@python.org>1995-06-22 18:45:04 +0000
commit2b02fdf298e00f3d07e067b13231c147e8cf005b (patch)
tree6e21b0aa5047c1b07fd94136aca43a9a2ada7b45
parent3e98ef193a39ed9c1496151256aa4b6b57a56b04 (diff)
downloadcpython-2b02fdf298e00f3d07e067b13231c147e8cf005b.tar.gz
set softspace to 0 in __init__
-rw-r--r--Lib/StringIO.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/StringIO.py b/Lib/StringIO.py
index 715e71e76f..c979487263 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