mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-27 23:54:46 +03:00
Type annotations: Image.py: Amend Image.resize given new parameter.
This commit is contained in:
parent
26bac897ff
commit
446c38ca19
|
@ -1772,7 +1772,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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user