[Python-checkins] bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (#27327)

ambv webhook-mailer at python.org
Sat Jul 24 06:30:29 EDT 2021


https://github.com/python/cpython/commit/5d9c86e340b40379d18ffeb7ce1739e07bdeb536
commit: 5d9c86e340b40379d18ffeb7ce1739e07bdeb536
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-07-24T12:30:25+02:00
summary:

bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (#27327)

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 at users.noreply.github.com>

files:
M Doc/library/subprocess.rst

diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 67754a7299df0..2e9540ec48ce1 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -662,7 +662,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.



More information about the Python-checkins mailing list