@@ -4,6 +4,7 @@ from contextlib import contextmanager
44from types import ModuleType
55from typing import Literal , NoReturn
66
7+ from win32 .lib .pywintypes import IIDType
78from win32com .client import dynamic
89
910bForDemandDefault : int
@@ -37,7 +38,7 @@ def MakeModuleForTypelib(
3738 bBuildHidden : bool | Literal [0 , 1 ] = 1 ,
3839) -> ModuleType : ...
3940def MakeModuleForTypelibInterface (
40- typelib_ob , progressInstance = None , bForDemand : Unused = ..., bBuildHidden : bool | Literal [0 , 1 ] = 1
41+ typelib_ob , progressInstance = None , bForDemand : bool | Literal [ 0 , 1 ] = ..., bBuildHidden : bool | Literal [0 , 1 ] = 1
4142) -> ModuleType | None : ...
4243def EnsureModuleForTypelibInterface (
4344 typelib_ob , progressInstance = None , bForDemand : bool | Literal [0 , 1 ] = ..., bBuildHidden : bool | Literal [0 , 1 ] = 1
@@ -54,8 +55,7 @@ def EnsureModule(
5455 bBuildHidden : bool | Literal [0 , 1 ] = 1 ,
5556) -> ModuleType | None : ...
5657def EnsureDispatch (
57- prog_id : str | dynamic .PyIDispatchType | dynamic ._GoodDispatchTypes | dynamic .PyIUnknownType ,
58- bForDemand : bool | Literal [0 , 1 ] = 1 ,
58+ prog_id : str | dynamic .PyIDispatchType | IIDType | dynamic .PyIUnknownType , bForDemand : bool | Literal [0 , 1 ] = 1
5959) -> dynamic .CDispatch : ...
6060def AddModuleToCache (typelibclsid , lcid , major , minor , verbose : Unused = 1 , bFlushNow : bool | Literal [0 , 1 ] = ...) -> None : ...
6161def GetGeneratedInfos () -> list [tuple [Incomplete , Incomplete , Incomplete , Incomplete ]]: ...
0 commit comments