mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-14 10:30:55 +03:00
Move an import behind the TYPE_CHECKING flag
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
9b44abb6b7
commit
6310280428
|
@ -35,13 +35,12 @@ from enum import IntEnum
|
|||
from io import BytesIO
|
||||
from typing import TYPE_CHECKING, BinaryIO
|
||||
|
||||
from PIL import ImageFile
|
||||
|
||||
from . import Image
|
||||
from ._typing import StrOrBytesPath
|
||||
from ._util import is_directory, is_path
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from . import ImageFile
|
||||
from ._imaging import ImagingFont
|
||||
from ._imagingft import Font
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user