From ccd14963908289e6170b20ac6fc5beee7e22cb63 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 12 Apr 2017 17:01:22 +0300 Subject: [PATCH] bpo-29791: Clarify that flush is keyword-only argument Reported by Lucio Ricardo Montero Valenzuela. --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 90fb07af227d987..9126535eecb85c1 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