mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 22:56:55 +08:00
Make argtypes in ctypes be a Sequence instead of a Tuple (#2005)
A lot of code uses lists here.
This commit is contained in:
committed by
GitHub
parent
06aee52581
commit
9b99161ca9
@@ -79,7 +79,7 @@ _PF = _UnionT[
|
||||
]
|
||||
class _FuncPointer(_PointerLike, _CData):
|
||||
restype: _UnionT[Type[_CData], Callable[[int], None], None] = ...
|
||||
argtypes: Tuple[Type[_CData], ...] = ...
|
||||
argtypes: Sequence[Type[_CData]] = ...
|
||||
errcheck: _ECT = ...
|
||||
@overload
|
||||
def __init__(self, address: int) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user