Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/PIL/Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2174,7 +2174,9 @@ def putpalette(
self.load() # install new palette

def putpixel(
self, xy: tuple[int, int], value: float | tuple[int, ...] | list[int]
self,
xy: tuple[int, int] | list[int],
value: float | tuple[int, ...] | list[int],
) -> None:
"""
Modifies the pixel at the given position. The color is given as
Expand Down