Skip to content

Commit 20cf82b

Browse files
committed
Moved PILLOW_VERSION deprecation to be more prominent
1 parent 83864b0 commit 20cf82b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/deprecations.rst

+11-11
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ Removed features
7272
Deprecated features are only removed in major releases after an appropriate
7373
period of deprecation has passed.
7474

75+
PILLOW_VERSION constant
76+
~~~~~~~~~~~~~~~~~~~~~~~
77+
78+
.. deprecated:: 5.2.0
79+
.. versionremoved:: 9.0.0
80+
81+
Use ``__version__`` instead.
82+
83+
It was initially removed in Pillow 7.0.0, but temporarily brought back in 7.1.0
84+
to give projects more time to upgrade.
85+
7586
Image.show command parameter
7687
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7788

@@ -100,17 +111,6 @@ ImageFile.raise_ioerror
100111
So, ``ImageFile.raise_ioerror`` has been removed.
101112
Use ``ImageFile.raise_oserror`` instead.
102113

103-
PILLOW_VERSION constant
104-
~~~~~~~~~~~~~~~~~~~~~~~
105-
106-
.. deprecated:: 5.2.0
107-
.. versionremoved:: 9.0.0
108-
109-
Use ``__version__`` instead.
110-
111-
It was initially removed in Pillow 7.0.0, but temporarily brought back in 7.1.0
112-
to give projects more time to upgrade.
113-
114114
im.offset
115115
~~~~~~~~~
116116

0 commit comments

Comments
 (0)