Explicitly enumerate version constants

This commit is contained in:
Hugo 2018-04-11 17:02:24 +03:00
parent 312b91717c
commit 3508d67999

View File

@ -7,9 +7,15 @@ API Changes
Deprecations
^^^^^^^^^^^^
Two version constants ``VERSION`` (the old PIL version 1.1.7) and
``PILLOW_VERSION`` have been deprecated and will be removed in the next
major release. Use ``__version__`` instead.
These version constants have been deprecated and will be removed in the next
major release:
* ``PIL.VERSION`` (old PIL version 1.1.7)
* ``PIL.PILLOW_VERSION``
* ``PIL.Image.VERSION``
* ``PIL.Image.PILLOW_VERSION``
Use ``__version__`` instead.
API Additions