mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36: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__(
|
||||
self,
|
||||
mode: str,
|
||||
bands: str | tuple[str, ...],
|
||||
bands: tuple[str, ...],
|
||||
basemode: str,
|
||||
basetype: str | tuple[str, ...],
|
||||
basetype: str,
|
||||
typestr: str,
|
||||
) -> None:
|
||||
self.mode = mode
|
||||
|
|
Loading…
Reference in New Issue
Block a user