mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-27 23:54:46 +03:00
Type annotations: Amend Image.point parameter types.
This commit is contained in:
parent
8856c4a9a6
commit
1270bebca5
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user