Closed AttackingOrDefending closed 1 month ago
from __future__ import annotations
from typing_extensions import Self
float
a: float
a: Union[int, float]
None
Type of pull request:
Description:
from __future__ import annotations
(the other 2 uses of it can be removed withfrom typing_extensions import Self
)float
) (in type hintinga: float
is the same asa: Union[int, float]
but I can make it explicit)Related Issues:
None
Checklist:
Screenshots/logs (if applicable):