mirror of https://github.com/python/cpython.git
gh-81762: Clarify and simplify description of print's flush param (#103264)
This commit is contained in:
parent
47753ecde2
commit
c396b6ddf3
|
@ -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
|
arguments are converted to text strings, :func:`print` cannot be used with
|
||||||
binary mode file objects. For these, use ``file.write(...)`` instead.
|
binary mode file objects. For these, use ``file.write(...)`` instead.
|
||||||
|
|
||||||
Whether the output is buffered is usually determined by *file*, but if the
|
Output buffering is usually determined by *file*.
|
||||||
*flush* keyword argument is true, the stream is forcibly flushed.
|
However, if *flush* is true, the stream is forcibly flushed.
|
||||||
|
|
||||||
|
|
||||||
.. versionchanged:: 3.3
|
.. versionchanged:: 3.3
|
||||||
Added the *flush* keyword argument.
|
Added the *flush* keyword argument.
|
||||||
|
|
Loading…
Reference in New Issue