changeset: 74333:bc043cef94f2 branch: 3.2 parent: 74331:3f2e5fd17b76 user: Terry Jan Reedy date: Wed Jan 11 14:09:49 2012 -0500 files: Doc/library/functions.rst description: Closes #11633 Clarify print buffering. diff -r 3f2e5fd17b76 -r bc043cef94f2 Doc/library/functions.rst --- a/Doc/library/functions.rst Wed Jan 11 03:29:42 2012 -0500 +++ b/Doc/library/functions.rst Wed Jan 11 14:09:49 2012 -0500 @@ -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)

AltStyle によって変換されたページ (->オリジナル) /