mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +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,
|
||||
index: int = 0,
|
||||
encoding: str = "",
|
||||
layout_engine: int | None = None,
|
||||
layout_engine: Layout | None = None,
|
||||
) -> None:
|
||||
# FIXME: use service provider instead
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user