Skip to content

Commit 8eb4e2c

Browse files
gh-94286 Fix documentation of print default param (GH-94297)
(cherry picked from commit 2db55e0) Co-authored-by: Nouran Ali <nouranalimohammed@gmail.com>
1 parent cd6fe96 commit 8eb4e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ are always available. They are listed here in alphabetical order.
13991399
supported.
14001400

14011401

1402-
.. function:: print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)
1402+
.. function:: print(*objects, sep=' ', end='\n', file=None, flush=False)
14031403

14041404
Print *objects* to the text stream *file*, separated by *sep* and followed
14051405
by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as keyword

0 commit comments

Comments
 (0)