Skip to content

Commit

Permalink
Add type hints for ImageMode
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
  • Loading branch information
hugovk and radarhere committed Dec 23, 2023
1 parent 76809f0 commit 17af8ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/ImageMode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17af8ec

Please sign in to comment.