Skip to content

Commit

Permalink
bpo-29791: Clarify that flush is keyword-only argument (#1093)
Browse files Browse the repository at this point in the history
Reported by Lucio Ricardo Montero Valenzuela.
  • Loading branch information
berkerpeksag committed Apr 13, 2017
1 parent 2c0b5c6 commit 61b9ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61b9ac9

Please sign in to comment.