mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Fix type hint
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
This commit is contained in:
		
							parent
							
								
									ed5cd18d9c
								
							
						
					
					
						commit
						9f5d6e0c31
					
				|  | @ -266,7 +266,7 @@ def hopper(mode: str | None = None) -> Image.Image: | |||
| 
 | ||||
| 
 | ||||
| @lru_cache(maxsize=None) | ||||
| def _cached_hopper(mode: str | None = None) -> Image.Image: | ||||
| def _cached_hopper(mode: str = None) -> Image.Image: | ||||
|     if mode == "F": | ||||
|         im = hopper("L").convert(mode) | ||||
|     else: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user