Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e247928

Browse files
committed
Closes #11633 Clarify print buffering.
1 parent f4ec3c5 commit e247928

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/library/functions.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,9 @@ are always available. They are listed here in alphabetical order.
954954
*end*.
955955

956956
The *file* argument must be an object with a ``write(string)`` method; if it
957-
is not present or ``None``, :data:`sys.stdout` will be used.
957+
is not present or ``None``, :data:`sys.stdout` will be used. Output buffering
958+
is determined by *file*. Use ``sys.stdout.flush()`` to ensure immediate
959+
appearance on a screen.
958960

959961

960962
.. function:: property(fget=None, fset=None, fdel=None, doc=None)

0 commit comments

Comments
 (0)