Skip to content

Commit

Permalink
Use enum in type hint
Browse files Browse the repository at this point in the history
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
  • Loading branch information
radarhere and nulano committed Nov 30, 2023
1 parent 4bc3655 commit 13c1d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/ImageFont.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def __init__(
size: float = 10,
index: int = 0,
encoding: str = "",
layout_engine: int | None = None,
layout_engine: Layout | None = None,
) -> None:
# FIXME: use service provider instead

Expand Down

0 comments on commit 13c1d75

Please sign in to comment.