Skip to content

Commit d8213a2

Browse files
radarherehugovk
authored andcommitted
ImageFile.raise_ioerror is now deprecated [ci skip]
1 parent 7bb51a4 commit d8213a2

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/deprecations.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ Deprecated features
1212
Below are features which are considered deprecated. Where appropriate,
1313
a ``DeprecationWarning`` is issued.
1414

15+
ImageFile.raise_ioerror
16+
~~~~~~~~~~~~~~~~~~~~~~~
17+
18+
.. deprecated:: 7.2.0
19+
20+
IOError was merged into OSError in Python 3.3. So, ``ImageFile.raise_ioerror``
21+
is now deprecated and will be removed in a future released. Use
22+
``ImageFile.raise_oserror`` instead.
23+
1524
PILLOW_VERSION constant
1625
~~~~~~~~~~~~~~~~~~~~~~~
1726

0 commit comments

Comments
 (0)