From 13c1d752c6d0933c31841a2adc5346839325f100 Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Fri, 1 Dec 2023 08:42:25 +1100 Subject: [PATCH] Use enum in type hint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ondrej Baranovič --- src/PIL/ImageFont.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/ImageFont.py b/src/PIL/ImageFont.py index f39a6760f..6c9895d71 100644 --- a/src/PIL/ImageFont.py +++ b/src/PIL/ImageFont.py @@ -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