Accept complex arguments to cmath functions (#5131)

This commit is contained in:
Takumi Kato authored and GitHub committed 2021-03-23 11:44:11 +01:00
1 parent 5f52e38fdd
commit 75005741e6
1 file changed
+1 -1
+1 -1
View File
@@ -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: ...