[Python-checkins] bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564)

Gregory P. Smith webhook-mailer at python.org
Tue Feb 6 19:46:34 EST 2018


https://github.com/python/cpython/commit/fc1ce810f1da593648b4d19e7d582a235ec1dd37
commit: fc1ce810f1da593648b4d19e7d582a235ec1dd37
branch: master
author: Brice Gros <brice-gros at users.noreply.github.com>
committer: Gregory P. Smith <greg at krypto.org>
date: 2018-02-06T16:46:29-08:00
summary:

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.

files:
M Doc/library/subprocess.rst

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



More information about the Python-checkins mailing list