im color could be a tuple with a single float

This commit is contained in:
Andrew Murray 2024-06-08 15:42:24 +10:00
parent f3ec2770e6
commit d2603b779a

View File

@ -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: