mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Type annotations: Amend Image.point parameter types.
This commit is contained in:
parent
0541e239d4
commit
2110a7f47b
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user