summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-07 02:11:26 (GMT)
committerGregory P. Smith <greg@krypto.org>2018-02-07 02:11:26 (GMT)
commit7f95c8c319c1ee593b130d0eb1d4947d9d7e008a (patch)
treec88fb2961790f43edd56d28252d34e4b9418fd40 /Doc/library
parentb90c68586e1f2c45c736dd38880f182be267e2ef (diff)
downloadcpython-7f95c8c319c1ee593b130d0eb1d4947d9d7e008a.zip
cpython-7f95c8c319c1ee593b130d0eb1d4947d9d7e008a.tar.gz
cpython-7f95c8c319c1ee593b130d0eb1d4947d9d7e008a.tar.bz2
bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564) (GH-5573)
Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6. (cherry picked from commit fc1ce810f1da593648b4d19e7d582a235ec1dd37) Co-authored-by: Brice Gros <brice-gros@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/subprocess.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index ea7e664..6a5f276 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -956,6 +956,9 @@ calls these functions.
.. versionchanged:: 3.4
Support for the *input* keyword argument was added.
+ .. versionchanged:: 3.6
+ *encoding* and *errors* were added. See :func:`run` for details.
+
.. _subprocess-replacements:
Replacing Older Functions with the :mod:`subprocess` Module