Issue #7631: Fix undefined references to the "built-in file object", which

has ceased to be.
This commit is contained in:
Antoine Pitrou 2010-01-04 18:50:53 +00:00
parent 6e40e27ecf
commit 4adb288f4e
5 changed files with 26 additions and 28 deletions

View file

@ -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`.