set softspace to 0 in __init__

This commit is contained in:
Guido van Rossum 1995-06-22 18:45:04 +00:00
parent 6ea3f92109
commit 0daa13b188

View file

@ -33,6 +33,7 @@ def __init__(self, buf = ''):
self.buf = buf
self.pos = 0
self.closed = 0
self.softspace = 0
def close(self):
if not self.closed:
self.closed = 1