From 9f011aafe31a8bd717407e167a594a03f6ec47e7 Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Thu, 31 Aug 2017 15:40:18 -0700 Subject: [PATCH] Type annotations: _imaging.pyi: Amend Image.resize after API change. --- PIL/_imaging.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/_imaging.pyi b/PIL/_imaging.pyi index 2b2eb8baf..c5cff0094 100644 --- a/PIL/_imaging.pyi +++ b/PIL/_imaging.pyi @@ -63,7 +63,7 @@ class ImagingCore: def putdata(self, data: Any, scale: float=1.0, offset: float=0.0) -> None: ... def quantize(self, colors: int=..., method: int=..., kmeans: int=...) -> ImagingCore: ... def rankfilter(self, size: int, rank: int) -> ImagingCore: ... - def resize(self, size: Size, resample: int=...) -> ImagingCore: ... + def resize(self, size: Size, resample: int=..., box: LURD=(0,0,0,0)) -> ImagingCore: ... def transpose(self, method: int) -> ImagingCore: ... def transform2(self, box: LURD, core: ImagingCore, method: int, data: List[float], resample: int=..., fill: int=...) -> None: ...