This commit is contained in:
Fred Drake 2007-10-29 16:56:50 +00:00
parent 5d21255968
commit 3db4686b61

View file

@ -497,7 +497,7 @@ def __init__(self, max_size=0, mode='w+b', buffering=-1,
else:
# Setting newline="\n" avoids newline translation;
# this is important because otherwise on Windows we'd
# hget double newline translation upon rollover().
# get double newline translation upon rollover().
self._file = _io.StringIO(encoding=encoding, newline="\n")
self._max_size = max_size
self._rolled = False