Skip to content

Commit 244dded

Browse files
wiredfoolradarhere
andauthored
Typing Lint
Co-authored-by: Andrew Murray <[email protected]>
1 parent af64250 commit 244dded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/Image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3360,7 +3360,7 @@ def fromarray(obj: SupportsArrayInterface, mode: str | None = None) -> Image:
33603360
return frombuffer(mode, size, obj, "raw", rawmode, 0, 1)
33613361

33623362

3363-
def fromarrow(obj: SupportsArrowArrayIngerface, mode, size) -> ImageFile.ImageFile:
3363+
def fromarrow(obj: SupportsArrowArrayInterface, mode, size) -> Image:
33643364
if not hasattr(obj, "__arrow_c_array__"):
33653365
msg = "arrow_c_array interface not found"
33663366
raise ValueError(msg)

0 commit comments

Comments
 (0)