summaryrefslogtreecommitdiffstats
path: root/Doc/library/subprocess.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 15:36:51 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 15:36:51 (GMT)
commit7d6dda4b783dc8720b354e5ede766fcb8407de14 (patch)
treee89b9cb93e95954bc563b6b9401e9f414572ee6a /Doc/library/subprocess.rst
parent3f561b791165c53f755e6aa35c7c10b48285eaae (diff)
parent4adf01caae967cc2962ba69b1a193875b84cfa4e (diff)
downloadcpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.zip
cpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.tar.gz
cpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.tar.bz2
Issue #19795: Improved more markups of True/False.
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r--Doc/library/subprocess.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 26cf5bc..ad2abe8 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -61,16 +61,16 @@ compatibility with older versions, see the :ref:`call-function-trio` section.
The *input* argument is passed to :meth:`Popen.communicate` and thus to the
subprocess's stdin. If used it must be a byte sequence, or a string if
- *encoding* or *errors* is specified or *universal_newlines* is True. When
+ *encoding* or *errors* is specified or *universal_newlines* is true. When
used, the internal :class:`Popen` object is automatically created with
``stdin=PIPE``, and the *stdin* argument may not be used as well.
- If *check* is True, and the process exits with a non-zero exit code, a
+ If *check* is true, and the process exits with a non-zero exit code, a
:exc:`CalledProcessError` exception will be raised. Attributes of that
exception hold the arguments, the exit code, and stdout and stderr if they
were captured.
- If *encoding* or *errors* are specified, or *universal_newlines* is True,
+ If *encoding* or *errors* are specified, or *universal_newlines* is true,
file objects for stdin, stdout and stderr are opened in text mode using the
specified *encoding* and *errors* or the :class:`io.TextIOWrapper` default.
Otherwise, file objects are opened in binary mode.
@@ -259,7 +259,7 @@ default values. The arguments that are most commonly needed are:
.. index::
single: universal newlines; subprocess module
- If *encoding* or *errors* are specified, or *universal_newlines* is True,
+ If *encoding* or *errors* are specified, or *universal_newlines* is true,
the file objects *stdin*, *stdout* and *stderr* will be opened in text
mode using the *encoding* and *errors* specified in the call or the
defaults for :class:`io.TextIOWrapper`.