mirror of https://github.com/python/cpython
Fix regression introduced by r81154 (Issue #5099, subprocess destructor)
This commit is contained in:
parent
5f8aae0be3
commit
2b271f7e30
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue