mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
Fix _winapi version availability (#4120)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -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: ...
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
_codecs.oem_decode
|
||||
_codecs.oem_encode
|
||||
_winapi.GetACP
|
||||
_winapi.GetFileType
|
||||
ntpath.splitunc
|
||||
os.path.splitunc
|
||||
os.path.splitunc
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
_winapi.GetACP
|
||||
_winapi.GetFileType
|
||||
hashlib.scrypt
|
||||
ntpath.splitunc
|
||||
os.path.splitunc
|
||||
|
||||
Reference in New Issue
Block a user