Type annotations: aliases.py: Amend Extrema to use float & int Tuples.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-20 17:25:53 -07:00 committed by Eric Soroos
parent 910236feae
commit 5515520d4c

View File

@ -9,5 +9,4 @@ Size = XY # NOTE: All XY aliases will be interchangeable
Matrix4 = Tuple[float, float, float, float]
Matrix12 = Tuple[float, float, float, float, float, float, float, float, float, float, float, float]
Mode = str
Extrema = Union[Tuple[Any, Any], Tuple[Tuple[Any, Any], ...]] # Any -> float?
Extrema = Union[Tuple[float, float], Tuple[int, int], Tuple[Tuple[int, int], ...]]