mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-27 20:12:21 +08:00
Annotate known magic-method return types (#9131)
This commit is contained in:
@@ -10,7 +10,7 @@ class DataProxy:
|
||||
def __iter__(self): ...
|
||||
def __eq__(self, other): ...
|
||||
__hash__: ClassVar[None] # type: ignore[assignment]
|
||||
def __len__(self): ...
|
||||
def __len__(self) -> int: ...
|
||||
def __setitem__(self, key, value) -> None: ...
|
||||
def __getitem__(self, key): ...
|
||||
def __contains__(self, key): ...
|
||||
|
||||
Reference in New Issue
Block a user