mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-01 00:17:27 +03:00 
			
		
		
		
	Use underscore as throwaway variable
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									9601102724
								
							
						
					
					
						commit
						f7c3f2a447
					
				|  | @ -220,7 +220,7 @@ def negative(mode="RGB"): | |||
| def random(mode="RGB"): | ||||
|     from random import randint | ||||
| 
 | ||||
|     palette = [randint(0, 255) for i in range(256 * len(mode))] | ||||
|     palette = [randint(0, 255) for _ in range(256 * len(mode))] | ||||
|     return ImagePalette(mode, palette) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user