mirror of https://github.com/python/cpython.git
clarifiy the documentation for issue17285. see also commit
ee30400efceb which updated the docstring.
This commit is contained in:
parent
91110f5e55
commit
f16455aa4a
|
@ -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)
|
.. 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
|
If the return code was non-zero it raises a :exc:`CalledProcessError`. The
|
||||||
:exc:`CalledProcessError` object will have the return code in the
|
:exc:`CalledProcessError` object will have the return code in the
|
||||||
|
|
Loading…
Reference in New Issue