Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5320250

Browse files
committed
#16071: fix more email.message links in mailbox docs.
1 parent c5fe407 commit 5320250

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/mailbox.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
This module defines two classes, :class:`Mailbox` and :class:`Message`, for
1111
accessing and manipulating on-disk mailboxes and the messages they contain.
1212
:class:`Mailbox` offers a dictionary-like mapping from keys to messages.
13-
:class:`Message` extends the :mod:`email.Message` module's :class:`Message`
14-
class with format-specific state and behavior. Supported mailbox formats are
15-
Maildir, mbox, MH, Babyl, and MMDF.
13+
:class:`Message` extends the :mod:`email.message` module's
14+
:class:`~email.message.Message` class with format-specific state and behavior.
15+
Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.
1616

1717

1818
.. seealso::
@@ -81,7 +81,7 @@ Maildir, mbox, MH, Babyl, and MMDF.
8181
it.
8282

8383
Parameter *message* may be a :class:`Message` instance, an
84-
:class:`email.Message.Message` instance, a string, a byte string, or a
84+
:class:`email.message.Message` instance, a string, a byte string, or a
8585
file-like object (which should be open in binary mode). If *message* is
8686
an instance of the
8787
appropriate format-specific :class:`Message` subclass (e.g., if it's an
@@ -112,7 +112,7 @@ Maildir, mbox, MH, Babyl, and MMDF.
112112
:exc:`KeyError` exception if no message already corresponds to *key*.
113113

114114
As with :meth:`add`, parameter *message* may be a :class:`Message`
115-
instance, an :class:`email.Message.Message` instance, a string, a byte
115+
instance, an :class:`email.message.Message` instance, a string, a byte
116116
string, or a file-like object (which should be open in binary mode). If
117117
*message* is an
118118
instance of the appropriate format-specific :class:`Message` subclass
@@ -1268,7 +1268,7 @@ When an :class:`MHMessage` instance is created based upon a
12681268

12691269
Set the message's visible headers to be the same as the headers in
12701270
*message*. Parameter *visible* should be a :class:`Message` instance, an
1271-
:class:`email.Message.Message` instance, a string, or a file-like object
1271+
:class:`email.message.Message` instance, a string, or a file-like object
12721272
(which should be open in text mode).
12731273

12741274

0 commit comments

Comments
 (0)