mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Merged revisions 77300 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r77300 | antoine.pitrou | 2010-01-04 19:50:53 +0100 (lun., 04 janv. 2010) | 4 lines Issue #7631: Fix undefined references to the "built-in file object", which has ceased to be. ........
This commit is contained in:
parent
593d0f4670
commit
fa833950bf
5 changed files with 26 additions and 28 deletions
|
|
@ -235,11 +235,6 @@ Miscellaneous options
|
|||
Force stdin, stdout and stderr to be totally unbuffered. On systems where it
|
||||
matters, also put stdin, stdout and stderr in binary mode.
|
||||
|
||||
Note that there is internal buffering in :meth:`file.readlines` and
|
||||
:ref:`bltin-file-objects` (``for line in sys.stdin``) which is not influenced
|
||||
by this option. To work around this, you will want to use
|
||||
:meth:`file.readline` inside a ``while 1:`` loop.
|
||||
|
||||
See also :envvar:`PYTHONUNBUFFERED`.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue