Add type hints for ImageMode

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2023-12-23 02:16:46 -07:00 committed by GitHub
parent 76809f09ef
commit 17af8eca02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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