mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 15:14:45 +03:00
Type annotations: aliases.py: Amend Extrema to use float & int Tuples.
This commit is contained in:
parent
910236feae
commit
5515520d4c
|
@ -9,5 +9,4 @@ Size = XY # NOTE: All XY aliases will be interchangeable
|
||||||
Matrix4 = Tuple[float, float, float, float]
|
Matrix4 = Tuple[float, float, float, float]
|
||||||
Matrix12 = Tuple[float, float, float, float, float, float, float, float, float, float, float, float]
|
Matrix12 = Tuple[float, float, float, float, float, float, float, float, float, float, float, float]
|
||||||
Mode = str
|
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], ...]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user