Remove nearly all __str__ and __repr__ methods from typeshed (#6968)

This commit is contained in:
Alex Waygood
2022-01-19 23:45:11 +00:00
committed by GitHub
parent fe6233a8c3
commit aea52b35d1
27 changed files with 11 additions and 72 deletions

View File

@@ -30,7 +30,6 @@ class WeakValueDictionary(MutableMapping[_KT, _VT]):
def has_key(self, key: object) -> bool: ...
def __contains__(self, o: object) -> bool: ...
def __iter__(self) -> Iterator[_KT]: ...
def __str__(self) -> str: ...
def copy(self) -> WeakValueDictionary[_KT, _VT]: ...
def keys(self) -> list[_KT]: ...
def values(self) -> list[_VT]: ...
@@ -59,7 +58,6 @@ class WeakKeyDictionary(MutableMapping[_KT, _VT]):
def has_key(self, key: object) -> bool: ...
def __contains__(self, o: object) -> bool: ...
def __iter__(self) -> Iterator[_KT]: ...
def __str__(self) -> str: ...
def copy(self) -> WeakKeyDictionary[_KT, _VT]: ...
def keys(self) -> list[_KT]: ...
def values(self) -> list[_VT]: ...