From: Brice Gros Date: Wed, 7 Feb 2018 00:46:29 +0000 (+0100) Subject: bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564) X-Git-Tag: v3.8.0a1~2255 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc1ce810f1da593648b4d19e7d582a235ec1dd37;p=thirdparty%2FPython%2Fcpython.git bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564) Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6. --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 27d4288f67b3..8673c4b18d8c 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