Skip to content

Commit

Permalink
Use enum
Browse files Browse the repository at this point in the history
Co-authored-by: Ondrej Baranovič <[email protected]>
  • Loading branch information
radarhere and nulano authored Jan 1, 2024
1 parent 5910065 commit 09ea121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/ImageTransform.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


class Transform(Image.ImageTransformHandler):
method: int
method: Image.Transform

def __init__(self, data: Sequence[int]) -> None:
self.data = data
Expand Down

0 comments on commit 09ea121

Please sign in to comment.