mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
pywin32 annotations improvements (#11177)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from _typeshed import Incomplete, Unused
|
||||
|
||||
import _win32typing
|
||||
|
||||
@@ -7,7 +7,7 @@ class error(Exception): ...
|
||||
def ComparePath(path1: str, path2: str): ...
|
||||
def CreateMDIFrame() -> _win32typing.PyCMDIFrameWnd: ...
|
||||
def CreateMDIChild() -> _win32typing.PyCMDIChildWnd: ...
|
||||
def CreateBitmap() -> _win32typing.PyCBitmap: ...
|
||||
def CreateBitmap(*args: Unused) -> _win32typing.PyCBitmap: ...
|
||||
def CreateBitmapFromHandle(): ...
|
||||
def CreateBrush() -> _win32typing.PyCBrush: ...
|
||||
def CreateButton() -> _win32typing.PyCButton: ...
|
||||
@@ -28,7 +28,7 @@ def CreateControl(
|
||||
def CreateControlBar() -> _win32typing.PyCControlBar: ...
|
||||
def CreateCtrlView(doc: _win32typing.PyCDocument, className: str, style: int = ...) -> _win32typing.PyCCtrlView: ...
|
||||
def CreateDC() -> None: ...
|
||||
def CreateDCFromHandle(hwnd: int) -> _win32typing.PyCDC: ...
|
||||
def CreateDCFromHandle(__hwnd: int | _win32typing.PyHANDLE) -> _win32typing.PyCDC: ...
|
||||
def CreateDialog(idRes, dll: _win32typing.PyDLL | None = ...) -> _win32typing.PyCDialog: ...
|
||||
def CreateDialogBar() -> _win32typing.PyCDialogBar: ...
|
||||
def CreateDialogIndirect(oblist) -> _win32typing.PyCDialog: ...
|
||||
|
||||
Reference in New Issue
Block a user