diff --git a/Doc/library/io.rst b/Doc/library/io.rst index b99324cdb38..300041dc3bb 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -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: