summaryrefslogtreecommitdiff
path: root/Misc/python.man
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-07-25 05:04:02 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2013-07-25 05:04:02 +0200
commit61b0c672b5e9ba1cf564947ecb38d175fd70ea7e (patch)
treeab808b8fae0a02137111cb1edf13fdbba7da7caa /Misc/python.man
parent72f562f719ee59b79e2fa0e2efe27591c75fde26 (diff)
downloadcpython-git-61b0c672b5e9ba1cf564947ecb38d175fd70ea7e.tar.gz
#16937: document that stdin is always buffered, even when -u is used. Patch by Elena Oat.
Diffstat (limited to 'Misc/python.man')
-rw-r--r--Misc/python.man3
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/python.man b/Misc/python.man
index 8155e6a447..bcb3ec8723 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -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