Commit f16455aa authored by Gregory P. Smith's avatar Gregory P. Smith

clarifiy the documentation for issue17285. see also commit

ee30400efceb which updated the docstring.
parent 91110f5e
...@@ -118,7 +118,7 @@ use cases, the underlying :class:`Popen` interface can be used directly. ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment