Skip to content

Commit

Permalink
Use underscore as throwaway variable
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
  • Loading branch information
hugovk and radarhere committed Dec 4, 2023
1 parent 9601102 commit f7c3f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/ImagePalette.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def negative(mode="RGB"):
def random(mode="RGB"):
from random import randint

palette = [randint(0, 255) for i in range(256 * len(mode))]
palette = [randint(0, 255) for _ in range(256 * len(mode))]
return ImagePalette(mode, palette)


Expand Down

0 comments on commit f7c3f2a

Please sign in to comment.