From c396b6ddf3da784349bac9ebf7f28c55bde016ea Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Wed, 5 Apr 2023 06:16:36 -0500 Subject: [PATCH] gh-81762: Clarify and simplify description of print's flush param (#103264) --- Doc/library/functions.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index f0f374771b0..8797485cd05 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1444,8 +1444,9 @@ are always available. They are listed here in alphabetical order. arguments are converted to text strings, :func:`print` cannot be used with binary mode file objects. For these, use ``file.write(...)`` instead. - Whether the output is buffered is usually determined by *file*, but if the - *flush* keyword argument is true, the stream is forcibly flushed. + Output buffering is usually determined by *file*. + However, if *flush* is true, the stream is forcibly flushed. + .. versionchanged:: 3.3 Added the *flush* keyword argument.