summaryrefslogtreecommitdiff
path: root/Doc/using
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-10-04 20:25:40 +0300
committerGitHub <noreply@github.com>2017-10-04 20:25:40 +0300
commit77732be801c18013cfbc86e27fcc50194ca22c8e (patch)
tree994379199522db4d759f5759655ad0c466e7fdab /Doc/using
parent0b5e61ddca73ad4fe597fb15065115b0285c8849 (diff)
downloadcpython-git-77732be801c18013cfbc86e27fcc50194ca22c8e.tar.gz
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 9c1c269d1d..7b60a9b71f 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