projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91110f5
)
clarifiy the documentation for issue17285. see also commit
author
Gregory P. Smith
<greg@krypto.org>
Wed, 20 Mar 2013 06:36:31 +0000
(23:36 -0700)
committer
Gregory P. Smith
<greg@krypto.org>
Wed, 20 Mar 2013 06:36:31 +0000
(23:36 -0700)
ee30400efceb
which updated the docstring.
Doc/library/subprocess.rst
patch
|
blob
|
history
diff --git
a/Doc/library/subprocess.rst
b/Doc/library/subprocess.rst
index b09c6424c853fbd5177f7c0a351ef3bad14f6290..bf98e0d127e4e1765ce7047cfad0f1703905d69a 100644
(file)
--- 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