Skip to content

Commit

Permalink
fixup! Optimise ImageMode.getmode
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 26, 2023
1 parent b40d5dc commit dd6b4c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/PIL/ImageMode.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def getmode(mode: str) -> ModeDescriptor:
base_mode, base_type, bands, type_str = modes[mode]
return ModeDescriptor(mode, bands, base_mode, base_type, type_str)

# mapping modes
mapping_modes = {
# I;16 == I;16L, and I;32 == I;32L
"I;16": "<u2",
Expand Down

0 comments on commit dd6b4c5

Please sign in to comment.