mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
#16937: document that stdin is always buffered, even when -u is used. Patch by Elena Oat.
This commit is contained in:
parent
72f562f719
commit
61b0c672b5
4 changed files with 7 additions and 4 deletions
|
@ -172,7 +172,8 @@ that it entails. Also disable these manipulations if
|
|||
is explicitly imported later.
|
||||
.TP
|
||||
.B \-u
|
||||
Force the binary I/O layers of stdin, stdout and stderr to be unbuffered.
|
||||
Force the binary I/O layers of stdout and stderr to be unbuffered.
|
||||
stdin is always buffered.
|
||||
The text I/O layer will still be line-buffered.
|
||||
.\" Note that there is internal buffering in readlines() and
|
||||
.\" file-object iterators ("for line in sys.stdin") which is not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue