Type annotations: _imaging.pyi typo.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-24 15:39:49 -07:00 committed by Eric Soroos
parent 5ee809495c
commit 8929e1e0c2

View File

@ -63,7 +63,7 @@ class ImagingCore:
def resize(self, size: Size, resample: int=...) -> ImagingCore: ... def resize(self, size: Size, resample: int=...) -> ImagingCore: ...
def transpose(self, method: int) -> ImagingCore: ... def transpose(self, method: int) -> ImagingCore: ...
def transform2(self, box: LURD, core: ImagingCore, method: int, def transform2(self, box: LURD, core: ImagingCore, method: int,
data: list[float], resample: int=..., fill: int=...) -> None: ... data: List[float], resample: int=..., fill: int=...) -> None: ...
def isblock(self) -> int: ... def isblock(self) -> int: ...
def getbbox(self) -> Optional[LURD]: ... def getbbox(self) -> Optional[LURD]: ...
def getcolors(self, maxcolors: int) -> Optional[List[Tuple[int, Color]]]: ... ################### def getcolors(self, maxcolors: int) -> Optional[List[Tuple[int, Color]]]: ... ###################