mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-16 03:24:54 +08:00
Use TypeAlias for type aliases where possible, part II (#7667)
This commit is contained in:
@@ -7,7 +7,7 @@ from typing_extensions import SupportsIndex, TypeAlias
|
||||
if sys.version_info >= (3, 8):
|
||||
_SupportsFloatOrIndex: TypeAlias = SupportsFloat | SupportsIndex
|
||||
else:
|
||||
_SupportsFloatOrIndex = SupportsFloat
|
||||
_SupportsFloatOrIndex: TypeAlias = SupportsFloat
|
||||
|
||||
e: float
|
||||
pi: float
|
||||
|
||||
Reference in New Issue
Block a user