Fix _winapi version availability (#4120)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Rune Tynan
2020-05-27 23:47:15 -04:00
committed by GitHub
parent e9531e0c18
commit 0041206765
3 changed files with 3 additions and 6 deletions

View File

@@ -66,8 +66,9 @@ def CreatePipe(__pipe_attrs: Any, __size: int) -> Tuple[int, int]: ...
def CreateProcess(__application_name: Optional[str], __command_line: Optional[str], __proc_attrs: Any, __thread_attrs: Any, __inherit_handles: bool, __creation_flags: int, __env_mapping: Dict[str, str], __current_directory: Optional[str], __startup_info: Any) -> Tuple[int, int, int, int]: ...
def DuplicateHandle(__source_process_handle: int, __source_handle: int, __target_process_handle: int, __desired_access: int, __inherit_handle: bool, __options: int = ...) -> int: ...
def ExitProcess(__ExitCode: int) -> NoReturn: ...
def GetACP() -> int: ...
def GetFileType(handle: int) -> int: ...
if sys.version_info >= (3, 7):
def GetACP() -> int: ...
def GetFileType(handle: int) -> int: ...
def GetCurrentProcess() -> int: ...
def GetExitCodeProcess(__process: int) -> int: ...
def GetLastError() -> int: ...

View File

@@ -1,7 +1,5 @@
_codecs.oem_decode
_codecs.oem_encode
_winapi.GetACP
_winapi.GetFileType
ntpath.splitunc
os.path.splitunc
os.path.splitunc

View File

@@ -1,5 +1,3 @@
_winapi.GetACP
_winapi.GetFileType
hashlib.scrypt
ntpath.splitunc
os.path.splitunc