Skip to content

Commit f2987d6

Browse files
committed
Linked to file codec documentation
1 parent 13cedb9 commit f2987d6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/releasenotes/9.1.0.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ Added PyEncoder
157157
^^^^^^^^^^^^^^^
158158

159159
:py:class:`~PIL.ImageFile.PyEncoder` has been added, allowing for file encoders to be
160-
written in Python.
160+
written in Python. See :ref:`Writing Your Own File Codec in Python<file-codecs-py>` for
161+
more information.
161162

162163
Other Changes
163164
=============

src/PIL/ImageFile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,8 @@ class PyEncoder(PyCodec):
702702
"""
703703
Python implementation of a format encoder. Override this class and
704704
add the decoding logic in the :meth:`encode` method.
705+
706+
See :ref:`Writing Your Own File Codec in Python<file-codecs-py>`
705707
"""
706708

707709
_pushes_fd = False

0 commit comments

Comments
 (0)