mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-05 13:43:28 +03:00
Use enum in type hint
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
This commit is contained in:
parent
4bc365547a
commit
13c1d752c6
|
@ -194,7 +194,7 @@ class FreeTypeFont:
|
||||||
size: float = 10,
|
size: float = 10,
|
||||||
index: int = 0,
|
index: int = 0,
|
||||||
encoding: str = "",
|
encoding: str = "",
|
||||||
layout_engine: int | None = None,
|
layout_engine: Layout | None = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
# FIXME: use service provider instead
|
# FIXME: use service provider instead
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user