Fix regression introduced by r81154 (Issue #5099, subprocess destructor)

This commit is contained in:
Victor Stinner 2010-05-14 21:52:26 +00:00
parent 5f8aae0be3
commit 2b271f7e30
1 changed files with 3 additions and 3 deletions

View File

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