mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Reduce use of Any in equality methods (#7081)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ class Complex(Number):
|
||||
def __rpow__(self, base: Any) -> Any: ...
|
||||
def __abs__(self) -> Real: ...
|
||||
def conjugate(self) -> Any: ...
|
||||
def __eq__(self, other: Any) -> bool: ...
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
|
||||
class Real(Complex, SupportsFloat):
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user