mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #11750: The Windows API functions scattered in the _subprocess and
_multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt.
This commit is contained in:
parent
c51b7fd65b
commit
23bba4ca39
15 changed files with 1562 additions and 1665 deletions
|
@ -84,7 +84,7 @@ HAVE_GETVALUE = not getattr(_multiprocessing,
|
|||
|
||||
WIN32 = (sys.platform == "win32")
|
||||
if WIN32:
|
||||
from _subprocess import WaitForSingleObject, INFINITE, WAIT_OBJECT_0
|
||||
from _winapi import WaitForSingleObject, INFINITE, WAIT_OBJECT_0
|
||||
|
||||
def wait_for_handle(handle, timeout):
|
||||
if timeout is None or timeout < 0.0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue