mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +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(
|
def paste(
|
||||||
self,
|
self,
|
||||||
im: Image | str | float | tuple[int, ...],
|
im: Image | str | float | tuple[float, ...],
|
||||||
box: tuple[int, int, int, int] | tuple[int, int] | None = None,
|
box: tuple[int, int, int, int] | tuple[int, int] | None = None,
|
||||||
mask: Image | None = None,
|
mask: Image | None = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user