Skip to content

Commit 1eddc9e

Browse files
[3.13] subprocess docs: Fix semantically important typo (GH-119752) (#119757)
subprocess docs: Fix semantically important typo (GH-119752) GH-25416 accidentally replaced a reference to the *stderr* argument of `subprocess.run` with a reference to the *stdin* argument. *stdin* is not affected by the `check_output` option. (cherry picked from commit 2cc3502) Co-authored-by: Zachary Ware <[email protected]>
1 parent 083bf3a commit 1eddc9e

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
@@ -52,7 +52,7 @@ underlying :class:`Popen` interface can be used directly.
5252

5353
If *capture_output* is true, stdout and stderr will be captured.
5454
When used, the internal :class:`Popen` object is automatically created with
55-
*stdout* and *stdin* both set to :data:`~subprocess.PIPE`.
55+
*stdout* and *stderr* both set to :data:`~subprocess.PIPE`.
5656
The *stdout* and *stderr* arguments may not be supplied at the same time as *capture_output*.
5757
If you wish to capture and combine both streams into one,
5858
set *stdout* to :data:`~subprocess.PIPE`

0 commit comments

Comments
 (0)