Merge pull request #6177 from radarhere/size

Removed documentation for deprecated size parameter
This commit is contained in:
mergify[bot] 2022-04-02 13:52:09 +00:00 committed by GitHub
commit 7a894881b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):