mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-13 09:15:46 +03:00
le-sigh
This commit is contained in:
parent
e4ad2c07a5
commit
cb146720d8
|
@ -3357,7 +3357,8 @@ def fromarrow(obj: SupportsArrowArrayInterface, mode, size) -> Image:
|
||||||
if _im:
|
if _im:
|
||||||
return Image()._new(_im)
|
return Image()._new(_im)
|
||||||
|
|
||||||
raise ValueError("new_arrow returned None without an exception")
|
msg = "new_arrow returned None without an exception"
|
||||||
|
raise ValueError(msg)
|
||||||
|
|
||||||
|
|
||||||
def fromqimage(im: ImageQt.QImage) -> ImageFile.ImageFile:
|
def fromqimage(im: ImageQt.QImage) -> ImageFile.ImageFile:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user