summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-05-14 21:52:26 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-05-14 21:52:26 (GMT)
commit2b271f7e3070acbd91b5af7f82140a116ae5dd72 (patch)
tree3795ecede52bff2e397dbf8cc15645b397f850c5 /Lib/subprocess.py
parent5f8aae0be34fe66a3d49ade216bead8127ea2e17 (diff)
downloadcpython-2b271f7e3070acbd91b5af7f82140a116ae5dd72.zip
cpython-2b271f7e3070acbd91b5af7f82140a116ae5dd72.tar.gz
cpython-2b271f7e3070acbd91b5af7f82140a116ae5dd72.tar.bz2
Fix regression introduced by r81154 (Issue #5099, subprocess destructor)
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r--Lib/subprocess.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index 4a894fe..115d07d 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -908,9 +908,9 @@ class Popen(object):
def _internal_poll(self, _deadstate=None,
- _WaitForSingleObject=WaitForSingleObject,
- _WAIT_OBJECT_0=WAIT_OBJECT_0,
- _GetExitCodeProcess=GetExitCodeProcess):
+ _WaitForSingleObject=_subprocess.WaitForSingleObject,
+ _WAIT_OBJECT_0=_subprocess.WAIT_OBJECT_0,
+ _GetExitCodeProcess=_subprocess.GetExitCodeProcess):
"""Check if child process has terminated. Returns returncode
attribute.