add autodocs for UnidentifiedImageError

This commit is contained in:
nulano 2020-06-14 16:40:28 +02:00
parent 255bd0caef
commit d4c432dd2f
2 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,14 @@ PIL Package (autodoc of remaining modules)
Reference for modules whose documentation has not yet been ported or written Reference for modules whose documentation has not yet been ported or written
can be found here. can be found here.
:mod:`PIL` Module
-------------------------
.. py:module:: PIL
.. autoexception:: UnidentifiedImageError
:show-inheritance:
:mod:`BdfFontFile` Module :mod:`BdfFontFile` Module
------------------------- -------------------------

View File

@ -132,4 +132,8 @@ _plugins = [
class UnidentifiedImageError(OSError): class UnidentifiedImageError(OSError):
"""
Raised in :py:meth:`PIL.Image.open` if an image cannot be opened and identified.
"""
pass pass