Commit 84fc6c59 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub

bpo-22069: Update TextIO documentation (GH-6609)


Clarify that flush is implied when the call to write contains a newline character.
(cherry picked from commit 7ffd4c58)
Co-authored-by: default avatarElena Oat <oat.elena@gmail.com>
parent afe5f633
......@@ -809,7 +809,7 @@ Text I/O
the given string.
If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
write contains a newline character.
write contains a newline character or a carriage return.
:class:`TextIOWrapper` provides one attribute in addition to those of
:class:`TextIOBase` and its parents:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment