[Python-checkins] gh-94286 Fix documentation of print default param (GH-94297)
iritkatriel
webhook-mailer at python.org
Sun Nov 6 15:15:04 EST 2022
https://github.com/python/cpython/commit/2db55e0c0069a928775fa819973a76f840c5ab5a
commit: 2db55e0c0069a928775fa819973a76f840c5ab5a
branch: main
author: Nouran Ali <nouranalimohammed at gmail.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2022-11-06T20:14:58Z
summary:
gh-94286 Fix documentation of print default param (GH-94297)
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 8108c98332e9..fe652ada534a 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
More information about the Python-checkins
mailing list