From 44caf57e50f4baf87541882c9edcffd1ba48a94b Mon Sep 17 00:00:00 2001 From: Elena Oat Date: Thu, 26 Apr 2018 13:22:46 +0300 Subject: [PATCH] Flush is implied also when write contains a carriage return --- Doc/library/io.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 5c71d900fd258d0..f2e0fdbc5bf3cd4 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -889,7 +889,7 @@ Text I/O characters written are translated to 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. If *write_through* is ``True``, calls to :meth:`write` are guaranteed not to be buffered: any data written on the :class:`TextIOWrapper`