Skip to content

Commit c32350d

Browse files
committed
Import __version__ directly
1 parent f6f3dab commit c32350d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PIL/Image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
ImageMode,
5555
TiffTags,
5656
UnidentifiedImageError,
57-
__version__,
5857
_plugins,
5958
)
6059
from ._binary import i32le, o32be, o32le
6160
from ._util import DeferredError, is_path
61+
from ._version import __version__
6262

6363
logger = logging.getLogger(__name__)
6464

src/PIL/_deprecate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import warnings
44

5-
from . import __version__
5+
from ._version import __version__
66

77

88
def deprecate(

0 commit comments

Comments
 (0)