summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-07 01:12:06 (GMT)
committerGregory P. Smith <greg@krypto.org>2018-02-07 01:12:06 (GMT)
commit4e7a964aaf4374fa2f6b45cf5161fa6cd53aec19 (patch)
treea1d31a131dbdfaab428bb369fbc11f3bd49ccc6a
parent2c6f6682768f401c297c584ef106d48c78697f67 (diff)
downloadcpython-4e7a964aaf4374fa2f6b45cf5161fa6cd53aec19.zip
cpython-4e7a964aaf4374fa2f6b45cf5161fa6cd53aec19.tar.gz
cpython-4e7a964aaf4374fa2f6b45cf5161fa6cd53aec19.tar.bz2
bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564) (GH-5572)
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>
-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 27d4288..8673c4b 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -1087,6 +1087,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