merge - 7a3f3ad83676 Fixes Issue #12044.

This commit is contained in:
Gregory P. Smith 2011-05-11 22:18:23 -07:00
parent 79a11e71c6
commit c9557af441
4 changed files with 10 additions and 3 deletions

View file

@ -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: