diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 4a894fe5876..115d07daf10 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.