mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Explicitly declare code as Python [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									04f856b13c
								
							
						
					
					
						commit
						d53602ea6e
					
				|  | @ -105,7 +105,9 @@ Note that the image plugin must be explicitly registered using | |||
| :py:func:`PIL.Image.register_open`. Although not required, it is also a good | ||||
| idea to register any extensions used by this format. | ||||
| 
 | ||||
| Once the plugin has been imported, it can be used:: | ||||
| Once the plugin has been imported, it can be used: | ||||
| 
 | ||||
| .. code-block:: python | ||||
| 
 | ||||
|     from PIL import Image | ||||
|     import SpamImagePlugin | ||||
|  | @ -423,4 +425,3 @@ Python-based file decoder: | |||
| 
 | ||||
| 3. Cleanup: The decoder instance's ``cleanup`` method is called. | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user