]> granicus.if.org Git - python/commitdiff
bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Feb 2018 02:11:26 +0000 (18:11 -0800)
committerGregory P. Smith <greg@krypto.org>
Wed, 7 Feb 2018 02:11:26 +0000 (18:11 -0800)
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>
Doc/library/subprocess.rst

index ea7e664f578bbc0fb8de64886ea9e28ff8b5a45d..6a5f276073b2c6c8d9b364f597187a71b8efcb91 100644 (file)
@@ -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