mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-22 19:13:34 +08:00
remove unused type ignore flags (#1346)
Verified that none of those are necessary for pytype.
This commit is contained in:
committed by
Guido van Rossum
parent
c31dcf4088
commit
4f2dd0f446
@@ -212,9 +212,9 @@ class Mapping(Iterable[_KT], Container[_KT], Sized, Generic[_KT, _VT_co]):
|
||||
def __getitem__(self, k: _KT) -> _VT_co:
|
||||
...
|
||||
# Mixin methods
|
||||
@overload # type: ignore
|
||||
@overload
|
||||
def get(self, k: _KT) -> Optional[_VT_co]: ...
|
||||
@overload # type: ignore
|
||||
@overload
|
||||
def get(self, k: _KT, default: Union[_VT_co, _T]) -> Union[_VT_co, _T]: ...
|
||||
def keys(self) -> list[_KT]: ...
|
||||
def values(self) -> list[_VT_co]: ...
|
||||
|
||||
Reference in New Issue
Block a user