mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-20 04:37:04 +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
@@ -9,4 +9,4 @@ class Errors:
|
||||
@property
|
||||
def deep_errors(self): ...
|
||||
def for_object(self, key): ...
|
||||
def __len__(self): ...
|
||||
def __len__(self) -> int: ...
|
||||
@@ -17,4 +17,4 @@ class ValidationErrorCollection:
|
||||
@property
|
||||
def size(self): ...
|
||||
def __getitem__(self, index): ...
|
||||
def __len__(self): ...
|
||||
def __len__(self) -> int: ...
|
||||
Reference in new issue
Block a user