diff --git a/comtypes/hints.pyi b/comtypes/hints.pyi index 27c24cfa..30b03e1d 100644 --- a/comtypes/hints.pyi +++ b/comtypes/hints.pyi @@ -68,6 +68,8 @@ class LP_SAFEARRAY(ctypes._Pointer[tagSAFEARRAY], Generic[_CT]): def unpack(self: LP_SAFEARRAY[_T_Struct]) -> Sequence[_T_Struct]: ... @overload def unpack(self) -> Sequence[Any]: ... + @classmethod + def from_param(cls, value: Any, /) -> Self: ... _T_coclass = TypeVar("_T_coclass", bound=comtypes.CoClass)