Skip to content

Commit 974db88

Browse files
committed
document IptcImagePlugin deprecations
1 parent c615535 commit 974db88

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

docs/deprecations.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ ImageFile.raise_oserror
4444
error codes returned by a codec's ``decode()`` method, which ImageFile already does
4545
automatically.
4646

47+
IptcImageFile helper functions
48+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49+
50+
.. deprecated:: 10.2.0
51+
52+
The functions ``IptcImageFile.dump`` and ``IptcImageFile.i``, and the constant
53+
``IptcImageFile.PAD`` have been deprecated and will be removed in Pillow
54+
12.0.0 (2025-10-15). These are undocumented helper functions intended
55+
for internal use, so there is no replacement. They can each be replaced
56+
by a single line of code using builtin functions in Python.
57+
4758
Removed features
4859
----------------
4960

docs/releasenotes/10.2.0.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@ ImageFile.raise_oserror
2020
error codes returned by a codec's ``decode()`` method, which ImageFile already does
2121
automatically.
2222

23-
TODO
24-
^^^^
25-
26-
TODO
23+
IptcImageFile helper functions
24+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25+
26+
The functions ``IptcImageFile.dump`` and ``IptcImageFile.i``, and the constant
27+
``IptcImageFile.PAD`` have been deprecated and will be removed in Pillow
28+
12.0.0 (2025-10-15). These are undocumented helper functions intended
29+
for internal use, so there is no replacement. They can each be replaced
30+
by a single line of code using builtin functions in Python.
2731

2832
API Changes
2933
===========

0 commit comments

Comments
 (0)