mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
bpo-29791: Clarify that flush is keyword-only argument (GH-1093)
Reported by Lucio Ricardo Montero Valenzuela.
(cherry picked from commit 61b9ac9371
)
This commit is contained in:
parent
84c2d75489
commit
119d94ad37
1 changed files with 1 additions and 1 deletions
|
@ -1125,7 +1125,7 @@ are always available. They are listed here in alphabetical order.
|
|||
.. function:: print(*objects, sep=' ', end='\\n', file=sys.stdout, flush=False)
|
||||
|
||||
Print *objects* to the text stream *file*, separated by *sep* and followed
|
||||
by *end*. *sep*, *end* and *file*, if present, must be given as keyword
|
||||
by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as keyword
|
||||
arguments.
|
||||
|
||||
All non-keyword arguments are converted to strings like :func:`str` does and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue