mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 04:52:23 +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
@@ -294,9 +294,9 @@ class Mapping(_Collection[_KT], 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 items(self) -> AbstractSet[Tuple[_KT, _VT_co]]: ...
|
||||
def keys(self) -> AbstractSet[_KT]: ...
|
||||
|
||||
Reference in New Issue
Block a user