mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 21:50:54 +03:00
Removed documentation for deprecated size parameter
This commit is contained in:
parent
a575ec33d2
commit
216e3d79a9
|
@ -32,8 +32,6 @@ class ImagePalette:
|
||||||
an array or a list of ints between 0-255. The list must consist of
|
an array or a list of ints between 0-255. The list must consist of
|
||||||
all channels for one color followed by the next color (e.g. RGBRGBRGB).
|
all channels for one color followed by the next color (e.g. RGBRGBRGB).
|
||||||
Defaults to an empty palette.
|
Defaults to an empty palette.
|
||||||
:param size: An optional palette size. If given, an error is raised
|
|
||||||
if ``palette`` is not of equal length.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, mode="RGB", palette=None, size=0):
|
def __init__(self, mode="RGB", palette=None, size=0):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user