diff options
| author | Gregory P. Smith <greg@krypto.org> | 2013-03-20 06:36:59 (GMT) |
|---|---|---|
| committer | Gregory P. Smith <greg@krypto.org> | 2013-03-20 06:36:59 (GMT) |
| commit | 6409989dc864fc5f70e1db6af451a37c9cab6ca9 (patch) | |
| tree | 6a083415bc2cd2994145d8591df50f0061ca094d | |
| parent | 016b9e38f7b5362df21526fce4c7e675de50bebf (diff) | |
| parent | f16455aa4ab046d91b675b51127d2b66c46081d4 (diff) | |
| download | cpython-6409989dc864fc5f70e1db6af451a37c9cab6ca9.zip cpython-6409989dc864fc5f70e1db6af451a37c9cab6ca9.tar.gz cpython-6409989dc864fc5f70e1db6af451a37c9cab6ca9.tar.bz2 | |
clarifiy the documentation for issue17285. see also commit
ee30400efceb which updated the docstring.
| -rw-r--r-- | Doc/library/subprocess.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index cafd233..3dfa1a4 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -118,7 +118,7 @@ use cases, the underlying :class:`Popen` interface can be used directly. .. function:: check_output(args, *, stdin=None, stderr=None, shell=False, universal_newlines=False, timeout=None) - Run command with arguments and return its output as a byte string. + Run command with arguments and return its output. If the return code was non-zero it raises a :exc:`CalledProcessError`. The :exc:`CalledProcessError` object will have the return code in the |
