From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 6 Nov 2022 20:24:02 +0000 (-0800) Subject: gh-94286 Fix documentation of print default param (GH-94297) X-Git-Tag: v3.11.1~131 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c4408d35f6595cc2f13de4aaabf8f11e0a5c4f90;p=thirdparty%2FPython%2Fcpython.git gh-94286 Fix documentation of print default param (GH-94297) (cherry picked from commit 2db55e0c0069a928775fa819973a76f840c5ab5a) Co-authored-by: Nouran Ali --- 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