summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-04-02 08:47:07 (GMT)
committerGeorg Brandl <georg@python.org>2010-04-02 08:47:07 (GMT)
commit379299cecc7d6a7aaa5601ff42d9083329e33ab6 (patch)
tree3f75b3571ee52b0f45d736b19a29be1bd756b97b /Doc
parent0f3ec6dd6255795d86ffb539866f58427f226280 (diff)
downloadcpython-379299cecc7d6a7aaa5601ff42d9083329e33ab6.zip
cpython-379299cecc7d6a7aaa5601ff42d9083329e33ab6.tar.gz
cpython-379299cecc7d6a7aaa5601ff42d9083329e33ab6.tar.bz2
#8213: document behavior of -u on py3k better.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/using/cmdline.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 540e4d7..0978770 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -232,8 +232,9 @@ Miscellaneous options
.. cmdoption:: -u
- Force stdin, stdout and stderr to be totally unbuffered. On systems where it
- matters, also put stdin, stdout and stderr in binary mode.
+ Force the binary layer of the stdin, stdout and stderr streams (which is
+ available as their ``buffer`` attribute) to be unbuffered. The text I/O
+ layer will still be line-buffered.
See also :envvar:`PYTHONUNBUFFERED`.