mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 10:14:30 +03:00
Updated type hint
This commit is contained in:
parent
0a2baab6c1
commit
20ce7ad9f8
|
@ -148,7 +148,9 @@ class PyAccess:
|
||||||
def get_pixel(self, x: int, y: int) -> float | tuple[int, ...]:
|
def get_pixel(self, x: int, y: int) -> float | tuple[int, ...]:
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def set_pixel(self, x: int, y: int, color: float | tuple[int, ...]) -> None:
|
def set_pixel(
|
||||||
|
self, x: int, y: int, color: float | tuple[int, ...] | list[int]
|
||||||
|
) -> None:
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user