File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ win32com.client.tlbrowse
1010# Utilities to generate python bindings
1111win32com.client.CLSIDToClass
1212win32com.client.connect
13+ # Error: _GoodDispatchTypes is not a Union or subclass of tuple
14+ win32com.client.dynamic._GoodDispatchTypes
1315win32com.client.gencache.*
1416win32com.client.genpy
1517win32com.client.makepy
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def debug_attr_print(*args: object) -> None: ...
3131PyIDispatchType = _win32typing .PyIDispatch
3232PyIUnknownType = _win32typing .PyIUnknown
3333
34- _GoodDispatchTypes : TypeAlias = str | IIDType
34+ _GoodDispatchTypes : TypeAlias = tuple [ type [ str ], type [ IIDType ]]
3535
3636@overload
3737def Dispatch (
Original file line number Diff line number Diff line change @@ -33,8 +33,11 @@ class DynamicPolicy(BasicWrapPolicy):
3333
3434DefaultPolicy = DesignatedWrapPolicy
3535
36+ # Imports an arbitrary object by it's fully-qualified name.
3637def resolve_func (spec : str ) -> Any : ...
37- def call_func (spec : str , * args ) -> Any : ...
38+
39+ # Imports and calls an arbitrary callable by it's fully-qualified name.
40+ def call_func (spec : str , * args : Any ) -> Any : ...
3841
3942DISPATCH_METHOD : int
4043DISPATCH_PROPERTYGET : int
You can’t perform that action at this time.
0 commit comments