mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Merge pull request #6177 from radarhere/size
Removed documentation for deprecated size parameter
This commit is contained in:
commit
7a894881b7
|
@ -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