diff options
author | Georg Brandl <georg@python.org> | 2010-04-02 08:47:07 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-04-02 08:47:07 +0000 |
commit | 0e7d79011a857a3ba54ac083046570a83cd6c766 (patch) | |
tree | d715addbe12341e796437f533f1d1c869782be81 /Doc/using/cmdline.rst | |
parent | b5eb6bce1bb01f33c4f91ead8369122a38a61646 (diff) | |
download | cpython-0e7d79011a857a3ba54ac083046570a83cd6c766.tar.gz |
#8213: document behavior of -u on py3k better.
Diffstat (limited to 'Doc/using/cmdline.rst')
-rw-r--r-- | Doc/using/cmdline.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 540e4d7b0f..0978770e1a 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`. |