]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes #11633 Clarify print buffering.
authorTerry Jan Reedy <tjreedy@udel.edu>
Wed, 11 Jan 2012 19:09:49 +0000 (14:09 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Wed, 11 Jan 2012 19:09:49 +0000 (14:09 -0500)
Doc/library/functions.rst

index e5d4a99c95f11eac7a8eeed57a222f8bfe3409b3..ff6d1c00cde9568efa40075124e1c7e4b758fab3 100644 (file)
@@ -954,7 +954,9 @@ are always available.  They are listed here in alphabetical order.
    *end*.
 
    The *file* argument must be an object with a ``write(string)`` method; if it
-   is not present or ``None``, :data:`sys.stdout` will be used.
+   is not present or ``None``, :data:`sys.stdout` will be used. Output buffering
+   is determined by *file*. Use ``sys.stdout.flush()`` to ensure immediate
+   appearance on a screen.
 
 
 .. function:: property(fget=None, fset=None, fdel=None, doc=None)