Type annotations: Amend Image.point parameter types.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-19 18:29:45 -07:00 committed by Eric Soroos
parent 0541e239d4
commit 2110a7f47b

View File

@ -1527,7 +1527,7 @@ class Image(object):
self.paste(result, box) self.paste(result, box)
def point(self, lut, mode=None): def point(self, lut, mode=None):
# type: (Union[List, Callable[[Any], Any]], Optional[Mode]) -> Image # type: (Union[List[float], Callable[[float], float], ImagePointHandler], Optional[Mode]) -> Image
""" """
Maps this image through a lookup table or function. Maps this image through a lookup table or function.