mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +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):
|
||||
method: int
|
||||
method: Image.Transform
|
||||
|
||||
def __init__(self, data: Sequence[int]) -> None:
|
||||
self.data = data
|
||||
|
|
Loading…
Reference in New Issue
Block a user