stdlib: Add several missing @abstractmethod decorators (#7443)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-03-06 16:41:13 -08:00
1 parent 2fb9c35ff9
commit 947724a5cb
7 files changed
+29 -4

No files matched your search

+3
View File
@@ -42,8 +42,11 @@ class Complex(Number):
def __pow__(self, exponent: Any) -> Any: ...
@abstractmethod
def __rpow__(self, base: Any) -> Any: ...
@abstractmethod
def __abs__(self) -> Real: ...
@abstractmethod
def conjugate(self) -> Any: ...
@abstractmethod
def __eq__(self, other: object) -> bool: ...
class Real(Complex, SupportsFloat):