From db9170ebfb91d614f116ae5d2a66c861f8784067 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Fri, 17 Feb 2017 07:43:57 -0800 Subject: [PATCH] Removed private uncalled _expand function --- PIL/Image.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/PIL/Image.py b/PIL/Image.py index c643e24d9..cd1bc1d40 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -1055,12 +1055,6 @@ class Image(object): """ pass - def _expand(self, xmargin, ymargin=None): - if ymargin is None: - ymargin = xmargin - self.load() - return self._new(self.im.expand(xmargin, ymargin, 0)) - def filter(self, filter): """ Filters this image using the given filter. For a list of