From 244dded7a8ba35d14822bb3a6c58d2fafce6e9cf Mon Sep 17 00:00:00 2001 From: wiredfool Date: Sat, 25 Jan 2025 13:43:01 +0000 Subject: [PATCH] Typing Lint Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index f5005adbc..96521657f 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -3360,7 +3360,7 @@ def fromarray(obj: SupportsArrayInterface, mode: str | None = None) -> Image: return frombuffer(mode, size, obj, "raw", rawmode, 0, 1) -def fromarrow(obj: SupportsArrowArrayIngerface, mode, size) -> ImageFile.ImageFile: +def fromarrow(obj: SupportsArrowArrayInterface, mode, size) -> Image: if not hasattr(obj, "__arrow_c_array__"): msg = "arrow_c_array interface not found" raise ValueError(msg)