This commit is contained in:
Fred Drake 2007-10-29 16:56:50 +00:00
parent 5d21255968
commit 3db4686b61
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ class SpooledTemporaryFile:
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