mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Use PEP 604 syntax wherever possible (#7493)
This commit is contained in:
@@ -137,7 +137,7 @@ _AnyColor = Any
|
||||
# TODO: Replace this with a TypedDict once it becomes standardized.
|
||||
_PenState = dict[str, Any]
|
||||
|
||||
_Speed = Union[str, float]
|
||||
_Speed = str | float
|
||||
_PolygonCoords = Sequence[tuple[float, float]]
|
||||
|
||||
# TODO: Type this more accurately
|
||||
|
||||
Reference in New Issue
Block a user