fix comments

This commit is contained in:
homm 2014-11-19 11:26:02 +03:00
parent 41029f0149
commit 814dd3123e
2 changed files with 3 additions and 3 deletions

View File

@ -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))

View File

@ -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},