summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2012-01-14 05:06:37 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2012-01-14 05:06:37 (GMT)
commit150122a5a2b468f847c5f0e07ad816624123b585 (patch)
tree6ad8dce65a833a812be738528a8debf2edbf568b /Doc
parent4ba76b68b9abdd2a435f8ddfe4638052cbb03d33 (diff)
downloadcpython-150122a5a2b468f847c5f0e07ad816624123b585.zip
cpython-150122a5a2b468f847c5f0e07ad816624123b585.tar.gz
cpython-150122a5a2b468f847c5f0e07ad816624123b585.tar.bz2
#11633 about buffering of print
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 991093e..739350b 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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::