summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNouran Ali <nouranalimohammed@gmail.com>2022-11-06 20:14:58 (GMT)
committerGitHub <noreply@github.com>2022-11-06 20:14:58 (GMT)
commit2db55e0c0069a928775fa819973a76f840c5ab5a (patch)
treef7030d304bc1efb99451b0eea5cf06284ac55ee0 /Doc
parent5eff82fdde1c7ee6dee31fcd5950728893596e9f (diff)
downloadcpython-2db55e0c0069a928775fa819973a76f840c5ab5a.zip
cpython-2db55e0c0069a928775fa819973a76f840c5ab5a.tar.gz
cpython-2db55e0c0069a928775fa819973a76f840c5ab5a.tar.bz2
gh-94286 Fix documentation of print default param (GH-94297)
Diffstat (limited to 'Doc')
-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 8108c98..fe652ad 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1419,7 +1419,7 @@ are always available. They are listed here in alphabetical order.
supported.
-.. function:: print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)
+.. function:: print(*objects, sep=' ', end='\n', file=None, flush=False)
Print *objects* to the text stream *file*, separated by *sep* and followed
by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as keyword