mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
fix typo
This commit is contained in:
parent
5d21255968
commit
3db4686b61
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue