Skip to content

Commit df97837

Browse files
authored
bpo-29791: Clarify that flush is keyword-only argument (GH-1093)
Reported by Lucio Ricardo Montero Valenzuela. (cherry picked from commit 61b9ac9)
1 parent 4d015a4 commit df97837

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ are always available. They are listed here in alphabetical order.
11041104
.. function:: print(*objects, sep=' ', end='\\n', file=sys.stdout, flush=False)
11051105

11061106
Print *objects* to the text stream *file*, separated by *sep* and followed
1107-
by *end*. *sep*, *end* and *file*, if present, must be given as keyword
1107+
by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as keyword
11081108
arguments.
11091109

11101110
All non-keyword arguments are converted to strings like :func:`str` does and

0 commit comments

Comments
 (0)