mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-11 06:21:57 +08:00
Use PEP 604 syntax wherever possible (#7493)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from typing import SupportsComplex, SupportsFloat, Union
|
||||
from typing import SupportsComplex, SupportsFloat
|
||||
|
||||
e: float
|
||||
pi: float
|
||||
_C = Union[SupportsFloat, SupportsComplex, complex]
|
||||
_C = SupportsFloat | SupportsComplex | complex
|
||||
|
||||
def acos(__z: _C) -> complex: ...
|
||||
def acosh(__z: _C) -> complex: ...
|
||||
|
||||
Reference in New Issue
Block a user