mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #7631: Fix undefined references to the "built-in file object", which
has ceased to be.
This commit is contained in:
parent
6e40e27ecf
commit
4adb288f4e
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