]> granicus.if.org Git - python/commitdiff
bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564)
authorBrice Gros <brice-gros@users.noreply.github.com>
Wed, 7 Feb 2018 00:46:29 +0000 (01:46 +0100)
committerGregory P. Smith <greg@krypto.org>
Wed, 7 Feb 2018 00:46:29 +0000 (16:46 -0800)
Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.

Doc/library/subprocess.rst

index 27d4288f67b33dc013380d33003c206abf47dd42..8673c4b18d8caaf6a2d79a9c716012be6659b0fa 100644 (file)
@@ -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