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: ...