Skip to content

Commit

Permalink
Import __version__ directly
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 27, 2023
1 parent f6f3dab commit c32350d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PIL/Image.py
Expand Up @@ -54,11 +54,11 @@
ImageMode,
TiffTags,
UnidentifiedImageError,
__version__,
_plugins,
)
from ._binary import i32le, o32be, o32le
from ._util import DeferredError, is_path
from ._version import __version__

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion src/PIL/_deprecate.py
Expand Up @@ -2,7 +2,7 @@

import warnings

from . import __version__
from ._version import __version__


def deprecate(
Expand Down

0 comments on commit c32350d

Please sign in to comment.