mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 08:58:44 +08:00
Add __hash__ for a bunch of types that set it to None (#13286)
This commit is contained in:
1 parent
1f0a86ceb4
commit
3944c7839e
32 files changed
+69
-27
No files matched your search
@@ -138,7 +138,7 @@ class Fraction(Rational):
|
||||
def __round__(self, ndigits: None = None) -> int: ...
|
||||
@overload
|
||||
def __round__(self, ndigits: int) -> Fraction: ...
|
||||
def __hash__(self) -> int: ...
|
||||
def __hash__(self) -> int: ... # type: ignore[override]
|
||||
def __eq__(a, b: object) -> bool: ...
|
||||
def __lt__(a, b: _ComparableNum) -> bool: ...
|
||||
def __gt__(a, b: _ComparableNum) -> bool: ...
|
||||
|
||||
Reference in new issue
Block a user