mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Mypy error -- doesn't like the none return
This commit is contained in:
		
							parent
							
								
									a8d819c442
								
							
						
					
					
						commit
						7d498c3c48
					
				|  | @ -3357,7 +3357,7 @@ def fromarrow(obj: SupportsArrowArrayInterface, mode, size) -> Image: | |||
|     if _im: | ||||
|         return Image()._new(_im) | ||||
| 
 | ||||
|     return None | ||||
|     raise ValueError("new_arrow returned None without an exception") | ||||
| 
 | ||||
| 
 | ||||
| def fromqimage(im: ImageQt.QImage) -> ImageFile.ImageFile: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user