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