Skip to content

Commit

Permalink
Add LP_SAFEARRAY.from_param to hints.pyi. (#687)
Browse files Browse the repository at this point in the history
* Update `hints.pyi`.
  • Loading branch information
junkmd authored Dec 7, 2024
1 parent c19790c commit 7604b8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions comtypes/hints.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7604b8d

Please sign in to comment.