mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 08:28:54 +08:00
Annotate known magic-method return types (#9131)
This commit is contained in:
1 parent
c0e9038f0d
commit
62a6c3d616
87 files changed
+172
-172
No files matched your search
@@ -16,7 +16,7 @@ class Alias:
|
||||
class LocaleDataDict(MutableMapping[Any, Any]):
|
||||
base: Any
|
||||
def __init__(self, data, base: Any | None = ...) -> None: ...
|
||||
def __len__(self): ...
|
||||
def __len__(self) -> int: ...
|
||||
def __iter__(self): ...
|
||||
def __getitem__(self, key): ...
|
||||
def __setitem__(self, key, value) -> None: ...
|
||||
|
||||
@@ -81,7 +81,7 @@ class Catalog:
|
||||
@property
|
||||
def plural_forms(self): ...
|
||||
def __contains__(self, id): ...
|
||||
def __len__(self): ...
|
||||
def __len__(self) -> int: ...
|
||||
def __iter__(self): ...
|
||||
def __delitem__(self, id) -> None: ...
|
||||
def __getitem__(self, id): ...
|
||||
|
||||
@@ -23,7 +23,7 @@ class LazyProxy:
|
||||
def __bool__(self) -> bool: ...
|
||||
def __dir__(self): ...
|
||||
def __iter__(self): ...
|
||||
def __len__(self): ...
|
||||
def __len__(self) -> int: ...
|
||||
def __add__(self, other): ...
|
||||
def __radd__(self, other): ...
|
||||
def __mod__(self, other): ...
|
||||
|
||||
Reference in new issue
Block a user