Fix miscellaneous invalid TypeVar usages (#8074)

This commit is contained in:
Alex Waygood
2022-06-14 16:48:41 +01:00
committed by GitHub
parent 4941ac0263
commit 01d5e28ff7
7 changed files with 36 additions and 19 deletions

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