mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-25 16:20:33 +03:00
Merge pull request #3679 from radarhere/version
Document removal of VERSION
This commit is contained in:
commit
e721c2b07e
|
@ -61,13 +61,12 @@ a ``DeprecationWarning``:
|
||||||
Setting the size of a TIFF image directly is deprecated, and will
|
Setting the size of a TIFF image directly is deprecated, and will
|
||||||
be removed in a future version. Use the resize method instead.
|
be removed in a future version. Use the resize method instead.
|
||||||
|
|
||||||
PILLOW_VERSION and VERSION constants
|
PILLOW_VERSION constant
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
.. deprecated:: 5.2.0
|
.. deprecated:: 5.2.0
|
||||||
|
|
||||||
Two version constants – ``VERSION`` (the old PIL version, always 1.1.7) and
|
``PILLOW_VERSION`` has been deprecated and will be removed in the next
|
||||||
``PILLOW_VERSION`` – have been deprecated and will be removed in the next
|
|
||||||
major release. Use ``__version__`` instead.
|
major release. Use ``__version__`` instead.
|
||||||
|
|
||||||
Removed features
|
Removed features
|
||||||
|
@ -76,6 +75,14 @@ Removed features
|
||||||
Deprecated features are only removed in major releases after an appropriate
|
Deprecated features are only removed in major releases after an appropriate
|
||||||
period of deprecation has passed.
|
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
|
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
|
and have now been removed: ``gaussian_blur``, ``gblur``, ``unsharp_mask``, ``usm`` and
|
||||||
``box_blur``. Use the equivalent operations in ``ImageFilter`` instead.
|
``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
|
API Changes
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user