mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-01 00:17:27 +03:00 
			
		
		
		
	Added comment
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
This commit is contained in:
		
							parent
							
								
									d0d53d4bac
								
							
						
					
					
						commit
						ab18395818
					
				|  | @ -69,6 +69,7 @@ def grab( | |||
|                 left, top, right, bottom = bbox | ||||
|                 im = im.crop((left - x0, top - y0, right - x0, bottom - y0)) | ||||
|             return im | ||||
|     # Cast to Optional[str] needed for Windows and macOS. | ||||
|     display_name: str | None = xdisplay | ||||
|     try: | ||||
|         if not Image.core.HAVE_XCB: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user