mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Add type hints for ImageMode
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
76809f09ef
commit
17af8eca02
|
@ -26,9 +26,9 @@ class ModeDescriptor:
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
mode: str,
|
mode: str,
|
||||||
bands: str | tuple[str, ...],
|
bands: tuple[str, ...],
|
||||||
basemode: str,
|
basemode: str,
|
||||||
basetype: str | tuple[str, ...],
|
basetype: str,
|
||||||
typestr: str,
|
typestr: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
self.mode = mode
|
self.mode = mode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user