mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Add __hash__ for a bunch of types that set it to None (#13286)
This commit is contained in:
@@ -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