set softspace to 0 in __init__
This commit is contained in:
parent
6ea3f92109
commit
0daa13b188
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue