Delete many redundant method redefinitions (#6877)

This commit is contained in:
Alex Waygood
2022-01-09 19:21:03 +00:00
committed by GitHub
parent bb6a6e3421
commit 4e046163b5
26 changed files with 0 additions and 50 deletions

View File

@@ -33,7 +33,6 @@ class WeakValueDictionary(MutableMapping[_KT, _VT]):
def __delitem__(self, v: _KT) -> None: ...
def __contains__(self, o: object) -> bool: ...
def __iter__(self) -> Iterator[_KT]: ...
def __str__(self) -> str: ...
def copy(self) -> WeakValueDictionary[_KT, _VT]: ...
# These are incompatible with Mapping
def keys(self) -> Iterator[_KT]: ... # type: ignore[override]
@@ -64,7 +63,6 @@ class WeakKeyDictionary(MutableMapping[_KT, _VT]):
def __delitem__(self, v: _KT) -> None: ...
def __contains__(self, o: object) -> bool: ...
def __iter__(self) -> Iterator[_KT]: ...
def __str__(self) -> str: ...
def copy(self) -> WeakKeyDictionary[_KT, _VT]: ...
# These are incompatible with Mapping
def keys(self) -> Iterator[_KT]: ... # type: ignore[override]