[Python-checkins] cpython (3.2): Closes #11633 Clarify print buffering.
terry.reedy
python-checkins at python.org
Wed Jan 11 20:15:15 CET 2012
http://hg.python.org/cpython/rev/bc043cef94f2
changeset: 74333:bc043cef94f2
branch: 3.2
parent: 74331:3f2e5fd17b76
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Wed Jan 11 14:09:49 2012 -0500
summary:
Closes #11633 Clarify print buffering.
files:
Doc/library/functions.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -954,7 +954,9 @@
*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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list