mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge follow-up for #11254 and other changes from 3.2
This commit is contained in:
commit
e64052176d
10 changed files with 133 additions and 88 deletions
|
@ -1455,7 +1455,7 @@ class TextIOWrapper(TextIOBase):
|
|||
enabled. With this enabled, on input, the lines endings '\n', '\r',
|
||||
or '\r\n' are translated to '\n' before being returned to the
|
||||
caller. Conversely, on output, '\n' is translated to the system
|
||||
default line seperator, os.linesep. If newline is any other of its
|
||||
default line separator, os.linesep. If newline is any other of its
|
||||
legal values, that newline becomes the newline when the file is read
|
||||
and it is returned untranslated. On output, '\n' is converted to the
|
||||
newline.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue