mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-26 03:53:41 +03:00
Variable in function should be snake_case
This commit is contained in:
parent
280b4e9e1a
commit
e4b39d9cc7
|
@ -421,8 +421,8 @@ class Color3DLUT(MultibandFilter):
|
||||||
except TypeError:
|
except TypeError:
|
||||||
size = (size, size, size)
|
size = (size, size, size)
|
||||||
size = [int(x) for x in size]
|
size = [int(x) for x in size]
|
||||||
for size1D in size:
|
for size_1d in size:
|
||||||
if not 2 <= size1D <= 65:
|
if not 2 <= size_1d <= 65:
|
||||||
raise ValueError("Size should be in [2, 65] range.")
|
raise ValueError("Size should be in [2, 65] range.")
|
||||||
return size
|
return size
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user