mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 08:14:10 +03:00
Python 3.8 compatibility
This commit is contained in:
parent
d63caf266d
commit
ef35d79264
|
@ -2204,7 +2204,7 @@ class Image:
|
|||
msg = "reducing_gap must be 1.0 or greater"
|
||||
raise ValueError(msg)
|
||||
|
||||
size = cast(tuple[int, int], tuple(size))
|
||||
size = cast("tuple[int, int]", tuple(size))
|
||||
|
||||
self.load()
|
||||
if box is None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user