Skip to content

Commit 7531de8

Browse files
nouranalimiss-islington
authored andcommitted
pythongh-94286 Fix documentation of print default param (pythonGH-94297)
(cherry picked from commit 2db55e0) Co-authored-by: Nouran Ali <nouranalimohammed@gmail.com>
1 parent cd6fe96 commit 7531de8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
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)