mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 06:49:44 +08:00
Annotate known magic-method return types (#9131)
This commit is contained in:
@@ -19,4 +19,4 @@ class Cursor:
|
||||
def urlsafe(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
def __hash__(self): ...
|
||||
def __hash__(self) -> int: ...
|
||||
|
||||
@@ -4,7 +4,7 @@ UNDEFINED: Any
|
||||
|
||||
class Key:
|
||||
def __new__(cls, *path_args, **kwargs): ...
|
||||
def __hash__(self): ...
|
||||
def __hash__(self) -> int: ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
def __lt__(self, other): ...
|
||||
|
||||
Reference in New Issue
Block a user