mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Type annotations: Image.py: Amend Image.resize given new parameter.
This commit is contained in:
parent
8929e1e0c2
commit
d6f89c103c
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user