]> granicus.if.org Git - python/commitdiff
#11633 about buffering of print
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 14 Jan 2012 05:06:37 +0000 (00:06 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 14 Jan 2012 05:06:37 +0000 (00:06 -0500)
Doc/library/functions.rst

index 991093e3443557946c43d555729f9d24f397d5c5..739350b2cdff04121785df57a67002af660de8fe 100644 (file)
@@ -910,7 +910,9 @@ 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 ``file.flush()`` to ensure, for instance,
+   immediate appearance on a screen.
 
    .. note::