From: Berker Peksag Date: Thu, 13 Apr 2017 12:48:18 +0000 (+0300) Subject: bpo-29791: Clarify that flush is keyword-only argument (#1093) X-Git-Tag: v3.7.0a1~976 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61b9ac93712df8092a25223cd56fa6528359792b;p=python bpo-29791: Clarify that flush is keyword-only argument (#1093) Reported by Lucio Ricardo Montero Valenzuela. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 90fb07af22..9126535eec 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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