summaryrefslogtreecommitdiffstats
path: root/Lib/StringIO.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-06-22 18:45:04 (GMT)
committerGuido van Rossum <guido@python.org>1995-06-22 18:45:04 (GMT)
commit0daa13b1884cb0744842fc20ca03b43b69c94eba (patch)
tree0b49a5701ffc28542531680e6434f652829b8c7b /Lib/StringIO.py
parent6ea3f92109836bdb6c3658a0284339715066a962 (diff)
downloadcpython-0daa13b1884cb0744842fc20ca03b43b69c94eba.zip
cpython-0daa13b1884cb0744842fc20ca03b43b69c94eba.tar.gz
cpython-0daa13b1884cb0744842fc20ca03b43b69c94eba.tar.bz2
set softspace to 0 in __init__
Diffstat (limited to 'Lib/StringIO.py')
-rw-r--r--Lib/StringIO.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/StringIO.py b/Lib/StringIO.py
index 715e71e..c979487 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