diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-08-15 15:05:36 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-08-15 15:05:36 (GMT) |
commit | ee0a945ae4077d9e4ffdb77e247ed13265316897 (patch) | |
tree | 867c956f41f97c2dec722ed838d41934d7d6d460 /Doc/library/io.rst | |
parent | 1b00f25bf99d9b7a5f307984f6467258de636d23 (diff) | |
download | cpython-ee0a945ae4077d9e4ffdb77e247ed13265316897.zip cpython-ee0a945ae4077d9e4ffdb77e247ed13265316897.tar.gz cpython-ee0a945ae4077d9e4ffdb77e247ed13265316897.tar.bz2 |
#15543: reflow paragraphs.
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r-- | Doc/library/io.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 8e6e601..b71bfd4 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -764,13 +764,13 @@ Text I/O ``''``, ``'\n'``, ``'\r'``, and ``'\r\n'``. It works as follows: * When reading input from the stream, if *newline* is ``None``, - :term:`universal newlines` mode is enabled. Lines in the input can end - in ``'\n'``, - ``'\r'``, or ``'\r\n'``, and these are translated into ``'\n'`` before - being returned to the caller. If it is ``''``, universal newlines mode is - enabled, but line endings are returned to the caller untranslated. If it - has any of the other legal values, input lines are only terminated by the - given string, and the line ending is returned to the caller untranslated. + :term:`universal newlines` mode is enabled. Lines in the input can end in + ``'\n'``, ``'\r'``, or ``'\r\n'``, and these are translated into ``'\n'`` + before being returned to the caller. If it is ``''``, universal newlines + mode is enabled, but line endings are returned to the caller untranslated. + If it has any of the other legal values, input lines are only terminated + by the given string, and the line ending is returned to the caller + untranslated. * When writing output to the stream, if *newline* is ``None``, any ``'\n'`` characters written are translated to the system default line separator, |