Merge pull request #2276 from uploadcare/remove-stretch

Remove depreciated internal "stretch" method
This commit is contained in:
wiredfool 2016-12-13 19:51:39 +00:00 committed by GitHub
commit eb339d2ef6

View File

@ -2977,9 +2977,6 @@ static struct PyMethodDef methods[] = {
{"rankfilter", (PyCFunction)_rankfilter, 1},
#endif
{"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},
{"transform2", (PyCFunction)_transform2, 1},