mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
im color could be a tuple with a single float
This commit is contained in:
parent
f3ec2770e6
commit
d2603b779a
|
@ -1719,7 +1719,7 @@ class Image:
|
|||
|
||||
def paste(
|
||||
self,
|
||||
im: Image | str | float | tuple[int, ...],
|
||||
im: Image | str | float | tuple[float, ...],
|
||||
box: tuple[int, int, int, int] | tuple[int, int] | None = None,
|
||||
mask: Image | None = None,
|
||||
) -> None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user