mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Document removal of VERSION (#3624) [ci skip]
This commit is contained in:
parent
95f77ef54a
commit
c1150a2d0f
|
@ -61,13 +61,12 @@ a ``DeprecationWarning``:
|
|||
Setting the size of a TIFF image directly is deprecated, and will
|
||||
be removed in a future version. Use the resize method instead.
|
||||
|
||||
PILLOW_VERSION and VERSION constants
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
PILLOW_VERSION constant
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 5.2.0
|
||||
|
||||
Two version constants – ``VERSION`` (the old PIL version, always 1.1.7) and
|
||||
``PILLOW_VERSION`` – have been deprecated and will be removed in the next
|
||||
``PILLOW_VERSION`` has been deprecated and will be removed in the next
|
||||
major release. Use ``__version__`` instead.
|
||||
|
||||
Removed features
|
||||
|
@ -76,6 +75,14 @@ Removed features
|
|||
Deprecated features are only removed in major releases after an appropriate
|
||||
period of deprecation has passed.
|
||||
|
||||
VERSION constant
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
*Removed in version 6.0.0.*
|
||||
|
||||
``VERSION`` (the old PIL version, always 1.1.7) has been removed. Use
|
||||
``__version__`` instead.
|
||||
|
||||
Undocumented ImageOps functions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
@ -26,6 +26,12 @@ Several undocumented functions in ``ImageOps`` were deprecated in Pillow 4.3.0 (
|
|||
and have now been removed: ``gaussian_blur``, ``gblur``, ``unsharp_mask``, ``usm`` and
|
||||
``box_blur``. Use the equivalent operations in ``ImageFilter`` instead.
|
||||
|
||||
Removed deprecated VERSION
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
``VERSION`` (the old PIL version, always 1.1.7) has been removed. Use ``__version__``
|
||||
instead.
|
||||
|
||||
API Changes
|
||||
===========
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user