|
10 | 10 | This module defines two classes, :class:`Mailbox` and :class:`Message`, for |
11 | 11 | accessing and manipulating on-disk mailboxes and the messages they contain. |
12 | 12 | :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. |
16 | 16 |
|
17 | 17 |
|
18 | 18 | .. seealso:: |
@@ -81,7 +81,7 @@ Maildir, mbox, MH, Babyl, and MMDF. |
81 | 81 | it. |
82 | 82 |
|
83 | 83 | 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 |
85 | 85 | file-like object (which should be open in binary mode). If *message* is |
86 | 86 | an instance of the |
87 | 87 | appropriate format-specific :class:`Message` subclass (e.g., if it's an |
@@ -112,7 +112,7 @@ Maildir, mbox, MH, Babyl, and MMDF. |
112 | 112 | :exc:`KeyError` exception if no message already corresponds to *key*. |
113 | 113 |
|
114 | 114 | 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 |
116 | 116 | string, or a file-like object (which should be open in binary mode). If |
117 | 117 | *message* is an |
118 | 118 | instance of the appropriate format-specific :class:`Message` subclass |
@@ -1268,7 +1268,7 @@ When an :class:`MHMessage` instance is created based upon a |
1268 | 1268 |
|
1269 | 1269 | Set the message's visible headers to be the same as the headers in |
1270 | 1270 | *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 |
1272 | 1272 | (which should be open in text mode). |
1273 | 1273 |
|
1274 | 1274 |
|
|
0 commit comments