diff options
author | C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | 2023-04-05 11:16:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 11:16:36 (GMT) |
commit | c396b6ddf3da784349bac9ebf7f28c55bde016ea (patch) | |
tree | ae7e4d08578b1217e4f91e6467118f20c16cf772 /Doc/library/functions.rst | |
parent | 47753ecde21b79b5c5f11d883946fda2a340e427 (diff) | |
download | cpython-c396b6ddf3da784349bac9ebf7f28c55bde016ea.zip cpython-c396b6ddf3da784349bac9ebf7f28c55bde016ea.tar.gz cpython-c396b6ddf3da784349bac9ebf7f28c55bde016ea.tar.bz2 |
gh-81762: Clarify and simplify description of print's flush param (#103264)
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r-- | Doc/library/functions.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index f0f3747..8797485 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. |