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

@@ -1,5 +1,4 @@
frozendict.FrozenOrderedDict
frozendict.frozendict.__hash__
frozendict.frozendict.__new__
frozendict.frozendict.__repr__
frozendict.frozendict.copy

View File

@@ -19,7 +19,6 @@ class frozendict(Mapping[_KT, _VT], Generic[_KT, _VT]):
def copy(self: Self, **add_or_replace: _VT) -> Self: ...
def __iter__(self) -> Iterator[_KT]: ...
def __len__(self) -> int: ...
def __repr__(self) -> str: ...
def __hash__(self) -> int: ...
class FrozenOrderedDict(frozendict[_KT, _VT]):