diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-09-28 19:19:42 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-09-28 19:19:42 (GMT) |
commit | 7dcbd2c8733af3ce5b075604fc41502568d6267e (patch) | |
tree | 07a362532753787857d28b38bb1bb90e12881acc /Doc | |
parent | fb8a49e080f30c9ca57e2c242d2079d1ffc32874 (diff) | |
parent | 53202504852bc97fc70c5715e936d22c5c5ba1e1 (diff) | |
download | cpython-7dcbd2c8733af3ce5b075604fc41502568d6267e.zip cpython-7dcbd2c8733af3ce5b075604fc41502568d6267e.tar.gz cpython-7dcbd2c8733af3ce5b075604fc41502568d6267e.tar.bz2 |
Merge #16071: fix more email.message links in mailbox docs.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/mailbox.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst index 54d7758..0f6aba1 100644 --- a/Doc/library/mailbox.rst +++ b/Doc/library/mailbox.rst @@ -10,9 +10,9 @@ This module defines two classes, :class:`Mailbox` and :class:`Message`, for accessing and manipulating on-disk mailboxes and the messages they contain. :class:`Mailbox` offers a dictionary-like mapping from keys to messages. -:class:`Message` extends the :mod:`email.Message` module's :class:`Message` -class with format-specific state and behavior. Supported mailbox formats are -Maildir, mbox, MH, Babyl, and MMDF. +:class:`Message` extends the :mod:`email.message` module's +:class:`~email.message.Message` class with format-specific state and behavior. +Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF. .. seealso:: @@ -81,7 +81,7 @@ Maildir, mbox, MH, Babyl, and MMDF. it. Parameter *message* may be a :class:`Message` instance, an - :class:`email.Message.Message` instance, a string, a byte string, or a + :class:`email.message.Message` instance, a string, a byte string, or a file-like object (which should be open in binary mode). If *message* is an instance of the appropriate format-specific :class:`Message` subclass (e.g., if it's an @@ -112,7 +112,7 @@ Maildir, mbox, MH, Babyl, and MMDF. :exc:`KeyError` exception if no message already corresponds to *key*. As with :meth:`add`, parameter *message* may be a :class:`Message` - instance, an :class:`email.Message.Message` instance, a string, a byte + instance, an :class:`email.message.Message` instance, a string, a byte string, or a file-like object (which should be open in binary mode). If *message* is an instance of the appropriate format-specific :class:`Message` subclass @@ -1268,7 +1268,7 @@ When an :class:`MHMessage` instance is created based upon a Set the message's visible headers to be the same as the headers in *message*. Parameter *visible* should be a :class:`Message` instance, an - :class:`email.Message.Message` instance, a string, or a file-like object + :class:`email.message.Message` instance, a string, or a file-like object (which should be open in text mode). |