Type annotations: Image.py: Amend Image.resize given new parameter.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-31 11:52:36 -07:00 committed by Eric Soroos
parent 8929e1e0c2
commit d6f89c103c

View File

@ -1785,7 +1785,7 @@ class Image(object):
return m_im return m_im
def resize(self, size, resample=NEAREST, box=None): def resize(self, size, resample=NEAREST, box=None):
# type: (Size, int) -> Image # type: (Size, int, Optional[LURD]) -> Image
""" """
Returns a resized copy of this image. Returns a resized copy of this image.