From 14dc6d2a3f6b53391acfa3d797e15163dc1d3243 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 6 Nov 2026 15:04:04 +1100 Subject: [PATCH] Correct return type Co-authored-by: Aarni Koskela --- src/PIL/_imagingft.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/_imagingft.pyi b/src/PIL/_imagingft.pyi index 2136810ba6a..481ce3477a4 100644 --- a/src/PIL/_imagingft.pyi +++ b/src/PIL/_imagingft.pyi @@ -53,7 +53,7 @@ class Font: features: list[str] | None, lang: str | None, /, - ) -> float: ... + ) -> int: ... def getvarnames(self) -> list[bytes]: ... def getvaraxes(self) -> list[ImageFont.Axis]: ... def setvarname(self, instance_index: int, /) -> None: ...