Fix miscellaneous invalid TypeVar usages (#8074)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-06-14 08:48:41 -07:00
1 parent 4941ac0263
commit 01d5e28ff7
7 files changed
+36 -19

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ def POINTER(type: type[_CT]) -> type[pointer[_CT]]: ...
class pointer(Generic[_CT], _PointerLike, _CData):
_type_: type[_CT]
contents: _CT
def __init__(self, arg: _CT = ...) -> None: ...
def __init__(self, arg: _CT) -> None: ...
@overload
def __getitem__(self, __i: int) -> _CT: ...
@overload