mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Use enum
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
This commit is contained in:
parent
59100652b6
commit
09ea121079
|
@ -20,7 +20,7 @@ from . import Image
|
||||||
|
|
||||||
|
|
||||||
class Transform(Image.ImageTransformHandler):
|
class Transform(Image.ImageTransformHandler):
|
||||||
method: int
|
method: Image.Transform
|
||||||
|
|
||||||
def __init__(self, data: Sequence[int]) -> None:
|
def __init__(self, data: Sequence[int]) -> None:
|
||||||
self.data = data
|
self.data = data
|
||||||
|
|
Loading…
Reference in New Issue
Block a user