Kaydet (Commit) 0daa13b1 authored tarafından Guido van Rossum's avatar Guido van Rossum

set softspace to 0 in __init__

üst 6ea3f921
...@@ -33,6 +33,7 @@ class StringIO: ...@@ -33,6 +33,7 @@ class StringIO:
self.buf = buf self.buf = buf
self.pos = 0 self.pos = 0
self.closed = 0 self.closed = 0
self.softspace = 0
def close(self): def close(self):
if not self.closed: if not self.closed:
self.closed = 1 self.closed = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment