Type annotations: Amend Image.point parameter types.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-19 18:29:45 -07:00
parent 8856c4a9a6
commit 1270bebca5

View File

@ -1508,7 +1508,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.