Clarify PILLOW_VERSION will be removed after VERSION

This commit is contained in:
Hugo 2018-04-25 11:13:56 +03:00
parent ef9bf76ce8
commit de6baf65f3
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ Deprecations
^^^^^^^^^^^^
These version constants have been deprecated. ``VERSION`` will be removed in
Pillow 6.0.0, and ``PILLOW_VERSION`` will be removed in a future release.
Pillow 6.0.0, and ``PILLOW_VERSION`` will be removed after that.
* ``PIL.VERSION`` (old PIL version 1.1.7)
* ``PIL.PILLOW_VERSION``

View File

@ -25,7 +25,7 @@
#
# VERSION is deprecated and will be removed in Pillow 6.0.0.
# PILLOW_VERSION is deprecated and will be removed in a future release.
# PILLOW_VERSION is deprecated and will be removed after that.
# Use __version__ instead.
from . import VERSION, PILLOW_VERSION, __version__, _plugins
from ._util import py3

View File

@ -14,7 +14,7 @@
from . import _version
# VERSION is deprecated and will be removed in Pillow 6.0.0.
# PILLOW_VERSION is deprecated and will be removed in a future release.
# PILLOW_VERSION is deprecated and will be removed after that.
# Use __version__ instead.
VERSION = '1.1.7' # PIL Version
PILLOW_VERSION = __version__ = _version.__version__