mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
committed by
Guido van Rossum
parent
c9dbb96f1d
commit
f93642b32a
@@ -160,6 +160,7 @@ class float(SupportsFloat, SupportsInt, SupportsAbs[float]):
|
||||
def __float__(self) -> float: ...
|
||||
def __abs__(self) -> float: ...
|
||||
def __hash__(self) -> int: ...
|
||||
def __format__(self, format_spec: AnyStr) -> str: ...
|
||||
|
||||
class complex(SupportsAbs[float]):
|
||||
@overload
|
||||
|
||||
@@ -148,6 +148,7 @@ class float(SupportsFloat, SupportsInt, SupportsAbs[float]):
|
||||
def __float__(self) -> float: ...
|
||||
def __abs__(self) -> float: ...
|
||||
def __hash__(self) -> int: ...
|
||||
def __format__(self, format_spec: str) -> str: ...
|
||||
|
||||
class complex(SupportsAbs[float]):
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user