Skip to content

Commit 5d9c86e

Browse files
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 7d25254) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
1 parent 0a08f22 commit 5d9c86e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/subprocess.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ execute, will be re-raised in the parent.
662662

663663
The most common exception raised is :exc:`OSError`. This occurs, for example,
664664
when trying to execute a non-existent file. Applications should prepare for
665-
:exc:`OSError` exceptions. Note that, when ``"shell=True"``, :exc:`OSError`
665+
:exc:`OSError` exceptions. Note that, when ``shell=True``, :exc:`OSError`
666666
will be raised by the child only if the selected shell itself was not found.
667667
To determine if the shell failed to find the requested application, it is
668668
necessary to check the return code or output from the subprocess.

0 commit comments

Comments
 (0)