Remove unused type: ignore comments (#9801)

This commit is contained in:
Alex Waygood
2023-02-23 20:59:50 +00:00
committed by GitHub
parent 06755e10ba
commit 6ba28ae547
20 changed files with 39 additions and 40 deletions

View File

@@ -21,7 +21,7 @@ class Cache(MutableMapping[_KT, _VT], Generic[_KT, _VT]):
def __missing__(self, key: _KT) -> _VT: ...
def __iter__(self) -> Iterator[_KT]: ...
def __len__(self) -> int: ...
@overload # type: ignore[override]
@overload
def pop(self, key: _KT) -> _VT: ...
@overload
def pop(self, key: _KT, default: _VT | _T) -> _VT | _T: ...