summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-30 07:50:23 (GMT)
committerGitHub <noreply@github.com>2024-05-30 07:50:23 (GMT)
commite408059711814be9bf7e9c72ecc4c34fb2b8356f (patch)
treec757bd04e96515cab16fc0be017f0d7c5334604c /Doc/library
parentd4a146d56727f456e579419cbb2bb72e6667103a (diff)
downloadcpython-e408059711814be9bf7e9c72ecc4c34fb2b8356f.zip
cpython-e408059711814be9bf7e9c72ecc4c34fb2b8356f.tar.gz
cpython-e408059711814be9bf7e9c72ecc4c34fb2b8356f.tar.bz2
[3.12] subprocess docs: Fix semantically important typo (GH-119752) (#119758)
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 2cc3502f98bb9aea386ab55443fc077ddcdde91d) Co-authored-by: Zachary Ware <zach@python.org>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/subprocess.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index d12f355..33f96a2 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -52,7 +52,7 @@ underlying :class:`Popen` interface can be used directly.
If *capture_output* is true, stdout and stderr will be captured.
When used, the internal :class:`Popen` object is automatically created with
- *stdout* and *stdin* both set to :data:`~subprocess.PIPE`.
+ *stdout* and *stderr* both set to :data:`~subprocess.PIPE`.
The *stdout* and *stderr* arguments may not be supplied at the same time as *capture_output*.
If you wish to capture and combine both streams into one,
set *stdout* to :data:`~subprocess.PIPE`