Linked to file codec documentation

This commit is contained in:
Andrew Murray 2022-02-28 08:27:39 +11:00
parent 13cedb9221
commit f2987d65c0
2 changed files with 4 additions and 1 deletions

View File

@ -157,7 +157,8 @@ Added PyEncoder
^^^^^^^^^^^^^^^
:py:class:`~PIL.ImageFile.PyEncoder` has been added, allowing for file encoders to be
written in Python.
written in Python. See :ref:`Writing Your Own File Codec in Python<file-codecs-py>` for
more information.
Other Changes
=============

View File

@ -702,6 +702,8 @@ class PyEncoder(PyCodec):
"""
Python implementation of a format encoder. Override this class and
add the decoding logic in the :meth:`encode` method.
See :ref:`Writing Your Own File Codec in Python<file-codecs-py>`
"""
_pushes_fd = False