remove unused type ignore flags (#1346)

Verified that none of those are necessary for pytype.
This commit is contained in:
Jelle Zijlstra
2017-05-26 08:28:51 -07:00
committed by Guido van Rossum
parent c31dcf4088
commit 4f2dd0f446
5 changed files with 18 additions and 17 deletions

View File

@@ -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]: ...