summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-24 09:59:22 (GMT)
committerGitHub <noreply@github.com>2021-07-24 09:59:22 (GMT)
commit45caee27159aa89b8dbcfde0c5faedea5f965584 (patch)
tree980bb5ed435f0bdef6f9ab348c3bcac6f04a432e /Doc
parent659030c7d56a329c1aa559678f2df15e306215e4 (diff)
downloadcpython-45caee27159aa89b8dbcfde0c5faedea5f965584.zip
cpython-45caee27159aa89b8dbcfde0c5faedea5f965584.tar.gz
cpython-45caee27159aa89b8dbcfde0c5faedea5f965584.tar.bz2
bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (GH-27298)
This fixes a small typo. The code fragment should not be quoted. Thank you @merwok for the feedback. (cherry picked from commit 7d25254cf0763b62f4c4a3019e56385cab597b9f) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/subprocess.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 6c127dc..a950474 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -689,7 +689,7 @@ execute, will be re-raised in the parent.
The most common exception raised is :exc:`OSError`. This occurs, for example,
when trying to execute a non-existent file. Applications should prepare for
-:exc:`OSError` exceptions. Note that, when ``"shell=True"``, :exc:`OSError`
+:exc:`OSError` exceptions. Note that, when ``shell=True``, :exc:`OSError`
will be raised by the child only if the selected shell itself was not found.
To determine if the shell failed to find the requested application, it is
necessary to check the return code or output from the subprocess.