[Python-checkins] bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564) (GH-5572)
Gregory P. Smith
webhook-mailer at python.org
Tue Feb 6 20:12:12 EST 2018
https://github.com/python/cpython/commit/4e7a964aaf4374fa2f6b45cf5161fa6cd53aec19
commit: 4e7a964aaf4374fa2f6b45cf5161fa6cd53aec19
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Gregory P. Smith <greg at krypto.org>
date: 2018-02-06T17:12:06-08:00
summary:
bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564) (GH-5572)
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 at users.noreply.github.com>
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