Add __hash__ for a bunch of types that set it to None (#13286)

This commit is contained in:
Stephen Morton authored and GitHub committed 2024-12-23 23:16:22 -08:00
1 parent 1f0a86ceb4
commit 3944c7839e
32 files changed
+69 -27

No files matched your search

+1 -1
View File
@@ -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: ...