mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Get rid of xreadlines() (methods).
This commit is contained in:
parent
7c3072437a
commit
7096760b25
11 changed files with 9 additions and 47 deletions
|
@ -152,7 +152,7 @@ expressed in spaces. Issue an error when the option is given twice.
|
|||
.B \-u
|
||||
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 xreadlines(), readlines() and
|
||||
Note that there is internal buffering in readlines() and
|
||||
file-object iterators ("for line in sys.stdin") which is not
|
||||
influenced by this option. To work around this, you will want to use
|
||||
"sys.stdin.readline()" inside a "while 1:" loop.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue