mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Accept complex arguments to cmath functions (#5131)
This commit is contained in:
@@ -10,7 +10,7 @@ if sys.version_info >= (3, 6):
|
||||
nanj: complex
|
||||
tau: float
|
||||
|
||||
_C = Union[SupportsFloat, SupportsComplex]
|
||||
_C = Union[SupportsFloat, SupportsComplex, complex]
|
||||
|
||||
def acos(__z: _C) -> complex: ...
|
||||
def acosh(__z: _C) -> complex: ...
|
||||
|
||||
Reference in New Issue
Block a user