Removed documentation for deprecated size parameter

This commit is contained in:
Andrew Murray 2022-04-02 23:33:19 +11:00
parent a575ec33d2
commit 216e3d79a9

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