Skip to content

Commit 73bf044

Browse files
hugovkradarhere
andauthored
enum can't be None
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
1 parent 98c7d90 commit 73bf044

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PIL/TiffTags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class _TagInfo(NamedTuple):
2626
name: str
2727
type: int | None
2828
length: int | None
29-
enum: dict[int, str] | None
29+
enum: dict[str, int]
3030

3131

3232
class TagInfo(_TagInfo):

0 commit comments

Comments
 (0)