From 3a71ade35d59ea3474d99c6511b1dbb5f3c1046c Mon Sep 17 00:00:00 2001 From: Brice Gros Date: Tue, 6 Feb 2018 09:37:31 +0100 Subject: [PATCH 1/2] Fix documentation for subprocess.check_output() not mentionning the changes done in 3.6 --- Doc/library/subprocess.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 2eaa48e070dcb8..1c8114a1dd031a 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -955,6 +955,9 @@ calls these functions. .. versionchanged:: 3.4 Support for the *input* keyword argument was added. + .. versionchanged:: 3.6 + *encoding*, *errors* added + .. _subprocess-replacements: Replacing Older Functions with the :mod:`subprocess` Module From 28b5f9736623eb54f317972f9bc0200379e66028 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Tue, 6 Feb 2018 16:34:17 -0800 Subject: [PATCH 2/2] minor wording change, refer to run() for more info --- Doc/library/subprocess.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 1c8114a1dd031a..3c3cf270f762b3 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -956,7 +956,7 @@ calls these functions. Support for the *input* keyword argument was added. .. versionchanged:: 3.6 - *encoding*, *errors* added + *encoding* and *errors* were added. See :func:`run` for details. .. _subprocess-replacements: