]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (GH-27298)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 24 Jul 2021 09:59:22 +0000 (02:59 -0700)
committerGitHub <noreply@github.com>
Sat, 24 Jul 2021 09:59:22 +0000 (11:59 +0200)
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>
Doc/library/subprocess.rst

index 6c127dcfd45438c67d0ac9ed5b9b291acdea019b..a95047433d240e1eddecce7b9a97c699e4d4af9a 100644 (file)
@@ -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.