Skip to content

Commit 45caee2

Browse files
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 7d25254) Co-authored-by: Jack DeVries <[email protected]>
1 parent 659030c commit 45caee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/subprocess.rst

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

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

0 commit comments

Comments
 (0)