mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Merge pull request #7955 from radarhere/imagemode
Removed outdated comment
This commit is contained in:
commit
33a73b5266
|
@ -42,7 +42,6 @@ class ModeDescriptor:
|
||||||
@lru_cache
|
@lru_cache
|
||||||
def getmode(mode: str) -> ModeDescriptor:
|
def getmode(mode: str) -> ModeDescriptor:
|
||||||
"""Gets a mode descriptor for the given mode."""
|
"""Gets a mode descriptor for the given mode."""
|
||||||
# initialize mode cache
|
|
||||||
endian = "<" if sys.byteorder == "little" else ">"
|
endian = "<" if sys.byteorder == "little" else ">"
|
||||||
|
|
||||||
modes = {
|
modes = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user