From 2110a7f47bcef903666be7aeb06a6a719dd83bc8 Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Sat, 19 Aug 2017 18:29:45 -0700 Subject: [PATCH] Type annotations: Amend Image.point parameter types. --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index df96fb036..d5238209c 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1527,7 +1527,7 @@ class Image(object): self.paste(result, box) 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.