summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-10-04 17:25:40 (GMT)
committerGitHub <noreply@github.com>2017-10-04 17:25:40 (GMT)
commit77732be801c18013cfbc86e27fcc50194ca22c8e (patch)
tree994379199522db4d759f5759655ad0c466e7fdab /Doc/using
parent0b5e61ddca73ad4fe597fb15065115b0285c8849 (diff)
downloadcpython-77732be801c18013cfbc86e27fcc50194ca22c8e.zip
cpython-77732be801c18013cfbc86e27fcc50194ca22c8e.tar.gz
cpython-77732be801c18013cfbc86e27fcc50194ca22c8e.tar.bz2
bpo-30404: The -u option now makes the stdout and stderr streams totally unbuffered. (#1667)
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 9c1c269..7b60a9b 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -303,13 +303,13 @@ Miscellaneous options
.. cmdoption:: -u
- Force the binary layer of the stdout and stderr streams (which is
- available as their ``buffer`` attribute) to be unbuffered. The text I/O
- layer will still be line-buffered if writing to the console, or
- block-buffered if redirected to a non-interactive file.
+ Force the stdout and stderr streams to be unbuffered.
See also :envvar:`PYTHONUNBUFFERED`.
+ .. versionchanged:: 3.7
+ The text layer of the stdout and stderr streams now is unbuffered.
+
.. cmdoption:: -v