mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
Mark (c)math constants as final (#13410)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
from typing import SupportsComplex, SupportsFloat, SupportsIndex
|
||||
from typing import Final, SupportsComplex, SupportsFloat, SupportsIndex
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
e: float
|
||||
pi: float
|
||||
inf: float
|
||||
infj: complex
|
||||
nan: float
|
||||
nanj: complex
|
||||
tau: float
|
||||
e: Final[float]
|
||||
pi: Final[float]
|
||||
inf: Final[float]
|
||||
infj: Final[complex]
|
||||
nan: Final[float]
|
||||
nanj: Final[complex]
|
||||
tau: Final[float]
|
||||
|
||||
_C: TypeAlias = SupportsFloat | SupportsComplex | SupportsIndex | complex
|
||||
|
||||
|
||||
Reference in New Issue
Block a user