mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	fix comments
This commit is contained in:
		
							parent
							
								
									41029f0149
								
							
						
					
					
						commit
						814dd3123e
					
				| 
						 | 
					@ -11,7 +11,7 @@ from PIL import Image
 | 
				
			||||||
class TestImagingCoreResize(PillowTestCase):
 | 
					class TestImagingCoreResize(PillowTestCase):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def resize(self, im, size, f):
 | 
					    def resize(self, im, size, f):
 | 
				
			||||||
        # Image class independend version of resize.
 | 
					        # Image class independent version of resize.
 | 
				
			||||||
        im.load()
 | 
					        im.load()
 | 
				
			||||||
        return im._new(im.im.resize(size, f))
 | 
					        return im._new(im.im.resize(size, f))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3007,8 +3007,8 @@ static struct PyMethodDef methods[] = {
 | 
				
			||||||
    {"rankfilter", (PyCFunction)_rankfilter, 1},
 | 
					    {"rankfilter", (PyCFunction)_rankfilter, 1},
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    {"resize", (PyCFunction)_resize, 1},
 | 
					    {"resize", (PyCFunction)_resize, 1},
 | 
				
			||||||
    // There was two methods for image resize before.
 | 
					    // There were two methods for image resize before.
 | 
				
			||||||
    // Starting from 2.7 stretch is obsolete.
 | 
					    // Starting from Pillow 2.7.0 stretch is depreciated.
 | 
				
			||||||
    {"stretch", (PyCFunction)_resize, 1},
 | 
					    {"stretch", (PyCFunction)_resize, 1},
 | 
				
			||||||
    {"rotate", (PyCFunction)_rotate, 1},
 | 
					    {"rotate", (PyCFunction)_rotate, 1},
 | 
				
			||||||
    {"transpose", (PyCFunction)_transpose, 1},
 | 
					    {"transpose", (PyCFunction)_transpose, 1},
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user