diff options
author | Gregory P. Smith <greg@krypto.org> | 2013-03-20 06:36:31 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2013-03-20 06:36:31 (GMT) |
commit | f16455aa4ab046d91b675b51127d2b66c46081d4 (patch) | |
tree | dc1a8918c078b546e491464fe187256d678962f3 | |
parent | 91110f5e5523b578cb74bf81473eb858f86e5338 (diff) | |
download | cpython-f16455aa4ab046d91b675b51127d2b66c46081d4.zip cpython-f16455aa4ab046d91b675b51127d2b66c46081d4.tar.gz cpython-f16455aa4ab046d91b675b51127d2b66c46081d4.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 b09c642..bf98e0d 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 |