summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2017-04-13 13:16:30 (GMT)
committerGitHub <noreply@github.com>2017-04-13 13:16:30 (GMT)
commitdf9783720e40773e7854d2f4e4cfc93f0a2c08b8 (patch)
tree10366c6bd1839c2b17769a14dd9d01ce9d2ad479
parent4d015a40a7b9c3c1b8cfbe81453187d700a43163 (diff)
downloadcpython-df9783720e40773e7854d2f4e4cfc93f0a2c08b8.zip
cpython-df9783720e40773e7854d2f4e4cfc93f0a2c08b8.tar.gz
cpython-df9783720e40773e7854d2f4e4cfc93f0a2c08b8.tar.bz2
bpo-29791: Clarify that flush is keyword-only argument (GH-1093)
Reported by Lucio Ricardo Montero Valenzuela. (cherry picked from commit 61b9ac93712df8092a25223cd56fa6528359792b)
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index ff8c7b8..80b5326 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1104,7 +1104,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