summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2017-04-13 13:17:01 (GMT)
committerGitHub <noreply@github.com>2017-04-13 13:17:01 (GMT)
commit119d94ad37a99ecb0b8329467d04cd9d909e310e (patch)
treeff33074fe63a71f7b6b3eda83193a2c4ba6a5291 /Doc/library/functions.rst
parent84c2d75489a84174d8993aea292828662e35a50f (diff)
downloadcpython-119d94ad37a99ecb0b8329467d04cd9d909e310e.zip
cpython-119d94ad37a99ecb0b8329467d04cd9d909e310e.tar.gz
cpython-119d94ad37a99ecb0b8329467d04cd9d909e310e.tar.bz2
bpo-29791: Clarify that flush is keyword-only argument (GH-1093)
Reported by Lucio Ricardo Montero Valenzuela. (cherry picked from commit 61b9ac93712df8092a25223cd56fa6528359792b)
Diffstat (limited to 'Doc/library/functions.rst')
-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 90fb07a..9126535 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