From 20cf82b2aff04397b759f93242862f22e932a630 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 18 Oct 2021 17:20:56 +1100 Subject: [PATCH] Moved PILLOW_VERSION deprecation to be more prominent --- docs/deprecations.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/deprecations.rst b/docs/deprecations.rst index 46596abda..7318da5b7 100644 --- a/docs/deprecations.rst +++ b/docs/deprecations.rst @@ -72,6 +72,17 @@ Removed features Deprecated features are only removed in major releases after an appropriate period of deprecation has passed. +PILLOW_VERSION constant +~~~~~~~~~~~~~~~~~~~~~~~ + +.. deprecated:: 5.2.0 +.. versionremoved:: 9.0.0 + +Use ``__version__`` instead. + +It was initially removed in Pillow 7.0.0, but temporarily brought back in 7.1.0 +to give projects more time to upgrade. + Image.show command parameter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -100,17 +111,6 @@ ImageFile.raise_ioerror So, ``ImageFile.raise_ioerror`` has been removed. Use ``ImageFile.raise_oserror`` instead. -PILLOW_VERSION constant -~~~~~~~~~~~~~~~~~~~~~~~ - -.. deprecated:: 5.2.0 -.. versionremoved:: 9.0.0 - -Use ``__version__`` instead. - -It was initially removed in Pillow 7.0.0, but temporarily brought back in 7.1.0 -to give projects more time to upgrade. - im.offset ~~~~~~~~~