From 2b46d9bf7e772c592313b24dac625586fff31c18 Mon Sep 17 00:00:00 2001 From: junkmd Date: Sat, 7 Dec 2024 16:03:14 +0900 Subject: [PATCH] Update `hints.pyi`. --- comtypes/hints.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comtypes/hints.pyi b/comtypes/hints.pyi index 27c24cfa2..30b03e1d0 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)