mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
Re-document deprecation versions of removals
This commit is contained in:
parent
4323d975be
commit
7c03590bcb
|
@ -78,6 +78,7 @@ period of deprecation has passed.
|
|||
Python 2.7
|
||||
~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 6.0.0
|
||||
.. versionremoved:: 7.0.0
|
||||
|
||||
Python 2.7 reached end-of-life on 2020-01-01. Pillow 6.x was the last series to
|
||||
|
@ -86,6 +87,7 @@ support Python 2.
|
|||
Image.__del__
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 6.1.0
|
||||
.. versionremoved:: 7.0.0
|
||||
|
||||
Implicitly closing the image's underlying file in ``Image.__del__`` has been removed.
|
||||
|
@ -109,6 +111,7 @@ Use instead:
|
|||
PIL.*ImagePlugin.__version__ attributes
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 6.0.0
|
||||
.. versionremoved:: 7.0.0
|
||||
|
||||
The version constants of individual plugins have been removed. Use ``PIL.__version__``
|
||||
|
@ -134,6 +137,7 @@ Removed Removed Removed
|
|||
PyQt4 and PySide
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 6.0.0
|
||||
.. versionremoved:: 7.0.0
|
||||
|
||||
Qt 4 reached end-of-life on 2015-12-19. Its Python bindings are also EOL: PyQt4 since
|
||||
|
@ -145,6 +149,7 @@ or PySide2.
|
|||
Setting the size of TIFF images
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 5.3.0
|
||||
.. versionremoved:: 7.0.0
|
||||
|
||||
Setting the size of a TIFF image directly (eg. ``im.size = (256, 256)``) throws
|
||||
|
@ -153,6 +158,7 @@ an error. Use ``Image.resize`` instead.
|
|||
VERSION constant
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 5.2.0
|
||||
.. versionremoved:: 6.0.0
|
||||
|
||||
``VERSION`` (the old PIL version, always 1.1.7) has been removed. Use
|
||||
|
@ -161,6 +167,7 @@ VERSION constant
|
|||
Undocumented ImageOps functions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 4.3.0
|
||||
.. versionremoved:: 6.0.0
|
||||
|
||||
Several undocumented functions in ``ImageOps`` have been removed. Use the equivalents
|
||||
|
@ -179,6 +186,7 @@ Removed Use instead
|
|||
PIL.OleFileIO
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 4.0.0
|
||||
.. versionremoved:: 6.0.0
|
||||
|
||||
PIL.OleFileIO was removed as a vendored file and in Pillow 4.0.0 (2017-01) in favour of
|
||||
|
|
Loading…
Reference in New Issue
Block a user