mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.12] gh-101100: Fix Sphinx reference warnings (GH-112416) (#112420)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
b478c5e50c
commit
d7a7883326
8 changed files with 24 additions and 18 deletions
|
@ -58,6 +58,15 @@ The following exception classes are defined in the :mod:`email.errors` module:
|
|||
:class:`~email.mime.nonmultipart.MIMENonMultipart` (e.g.
|
||||
:class:`~email.mime.image.MIMEImage`).
|
||||
|
||||
.. exception:: MessageDefect()
|
||||
|
||||
This is the base class for all defects found when parsing email messages.
|
||||
It is derived from :exc:`ValueError`.
|
||||
|
||||
.. exception:: HeaderDefect()
|
||||
|
||||
This is the base class for all defects found when parsing email headers.
|
||||
It is derived from :exc:`MessageDefect`.
|
||||
|
||||
Here is the list of the defects that the :class:`~email.parser.FeedParser`
|
||||
can find while parsing messages. Note that the defects are added to the message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue