mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-24 21:17:02 +03:00
embarrassing
This commit is contained in:
parent
8f202f107a
commit
30f2bda815
|
@ -86,6 +86,7 @@ WARN_POSSIBLE_FORMATS: bool = False
|
||||||
MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3)
|
MAX_IMAGE_PIXELS: int | None = int(1024 * 1024 * 1024 // 4 // 3)
|
||||||
|
|
||||||
|
|
||||||
|
TYPE_CHECKING = False
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from . import _imaging as core
|
from . import _imaging as core
|
||||||
else:
|
else:
|
||||||
|
@ -205,7 +206,6 @@ if hasattr(core, "DEFAULT_STRATEGY"):
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# Registries
|
# Registries
|
||||||
|
|
||||||
TYPE_CHECKING = False
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
import mmap
|
import mmap
|
||||||
from xml.etree.ElementTree import Element
|
from xml.etree.ElementTree import Element
|
||||||
|
|
Loading…
Reference in New Issue
Block a user