remove deprecated since Pillow 2.7 Image.im.stretch() method

This commit is contained in:
homm 2016-11-24 04:33:46 +03:00
parent bcb6d606a2
commit e7569a1ee9

View File

@ -2977,9 +2977,6 @@ static struct PyMethodDef methods[] = {
{"rankfilter", (PyCFunction)_rankfilter, 1}, {"rankfilter", (PyCFunction)_rankfilter, 1},
#endif #endif
{"resize", (PyCFunction)_resize, 1}, {"resize", (PyCFunction)_resize, 1},
// There were two methods for image resize before.
// Starting from Pillow 2.7.0 stretch is depreciated.
{"stretch", (PyCFunction)_resize, 1},
{"transpose", (PyCFunction)_transpose, 1}, {"transpose", (PyCFunction)_transpose, 1},
{"transform2", (PyCFunction)_transform2, 1}, {"transform2", (PyCFunction)_transform2, 1},