fix ImageFile references

(cherry picked from commit 6ac071782f)
This commit is contained in:
nulano 2020-06-22 06:43:14 +02:00
parent b4e7202dcb
commit e4210eb8d7
2 changed files with 13 additions and 6 deletions

View File

@ -34,14 +34,21 @@ Example: Parse an image
im.save("copy.jpg")
:py:class:`~PIL.ImageFile.Parser`
---------------------------------
Classes
-------
.. autoclass:: PIL.ImageFile.Parser()
:members:
:py:class:`~PIL.ImageFile.PyDecoder`
------------------------------------
.. autoclass:: PIL.ImageFile.PyDecoder()
:members:
.. autoclass:: PIL.ImageFile.ImageFile()
:member-order: bysource
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: PIL.ImageFile.StubImageFile()
:members:
:show-inheritance:

View File

@ -85,7 +85,7 @@ def _tilesort(t):
class ImageFile(Image.Image):
"Base class for image file format handlers."
"""Base class for image file format handlers."""
def __init__(self, fp=None, filename=None):
super().__init__()