Skip to content

Commit 119d94a

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 84c2d75 commit 119d94a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

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

11271127
Print *objects* to the text stream *file*, separated by *sep* and followed
1128-
by *end*. *sep*, *end* and *file*, if present, must be given as keyword
1128+
by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as keyword
11291129
arguments.
11301130

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

0 commit comments

Comments
 (0)