mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-27 23:54:46 +03:00
Type annotations: aliases.py: Amend Extrema to use float & int Tuples.
This commit is contained in:
parent
8e90f33dda
commit
d936e0f649
|
@ -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], ...]]
|
||||
|
|
Loading…
Reference in New Issue
Block a user