summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2011-05-12 05:18:23 (GMT)
committerGregory P. Smith <greg@krypto.org>2011-05-12 05:18:23 (GMT)
commitc9557af441a2030767cb19bbaba06f57905f41fb (patch)
tree1142600cdb9c213b9171c9bd8ed5e059e3d24da9 /Doc/library
parent79a11e71c69b3862fc930a47bd628e481685f93b (diff)
downloadcpython-c9557af441a2030767cb19bbaba06f57905f41fb.zip
cpython-c9557af441a2030767cb19bbaba06f57905f41fb.tar.gz
cpython-c9557af441a2030767cb19bbaba06f57905f41fb.tar.bz2
merge - 7a3f3ad83676 Fixes Issue #12044.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/subprocess.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index e09994c..4c0edb3 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -217,8 +217,8 @@ This module defines one class called :class:`Popen`:
*creationflags*, if given, can be :data:`CREATE_NEW_CONSOLE` or
:data:`CREATE_NEW_PROCESS_GROUP`. (Windows only)
- Popen objects are supported as context managers via the :keyword:`with` statement,
- closing any open file descriptors on exit.
+ Popen objects are supported as context managers via the :keyword:`with` statement:
+ on exit, standard file descriptors are closed, and the process is waited for.
::
with Popen(["ifconfig"], stdout=PIPE) as proc: