Skip to content

Commit 3b62151

Browse files
committed
Changed example function name to match use in code [ci skip]
1 parent 67d26ed commit 3b62151

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/handbook/writing-your-own-file-decoder.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ itself. Such plug-ins usually have names like
1717
Pillow decodes files in 2 stages:
1818

1919
1. It loops over the available image plugins in the loaded order, and
20-
calls the plugin's ``accept`` function with the first 16 bytes of
21-
the file. If the ``accept`` function returns true, the plugin's
20+
calls the plugin's ``_accept`` function with the first 16 bytes of
21+
the file. If the ``_accept`` function returns true, the plugin's
2222
``_open`` method is called to set up the image metadata and image
2323
tiles. The ``_open`` method is not for decoding the actual image
2424
data.

0 commit comments

Comments
 (0)