mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
Added some missing type annotations in stdlib stubs. (#4418)
Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
1 parent
030e5ad1dd
commit
f46fb7ff59
16 files changed
+34
-31
No files matched your search
@@ -4,7 +4,7 @@ from typing import Any, Optional, Tuple, Type, Union
|
||||
|
||||
_KeyType = Union[HKEYType, int]
|
||||
|
||||
def CloseKey(__hkey: _KeyType): ...
|
||||
def CloseKey(__hkey: _KeyType) -> None: ...
|
||||
def ConnectRegistry(__computer_name: Optional[str], __key: _KeyType) -> HKEYType: ...
|
||||
def CreateKey(__key: _KeyType, __sub_key: Optional[str]) -> HKEYType: ...
|
||||
def CreateKeyEx(key: _KeyType, sub_key: Optional[str], reserved: int = ..., access: int = ...) -> HKEYType: ...
|
||||
|
||||
Reference in new issue
Block a user