mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
Merge #16071: fix links to email.message.Message in mailbox docs.
This commit is contained in:
commit
fb8a49e080
1 changed files with 4 additions and 3 deletions
|
@ -757,11 +757,12 @@ Maildir, mbox, MH, Babyl, and MMDF.
|
||||||
|
|
||||||
.. class:: Message(message=None)
|
.. class:: Message(message=None)
|
||||||
|
|
||||||
A subclass of the :mod:`email.Message` module's :class:`Message`. Subclasses of
|
A subclass of the :mod:`email.message` module's
|
||||||
:class:`mailbox.Message` add mailbox-format-specific state and behavior.
|
:class:`~email.message.Message`. Subclasses of :class:`mailbox.Message` add
|
||||||
|
mailbox-format-specific state and behavior.
|
||||||
|
|
||||||
If *message* is omitted, the new instance is created in a default, empty state.
|
If *message* is omitted, the new instance is created in a default, empty state.
|
||||||
If *message* is an :class:`email.Message.Message` instance, its contents are
|
If *message* is an :class:`email.message.Message` instance, its contents are
|
||||||
copied; furthermore, any format-specific information is converted insofar as
|
copied; furthermore, any format-specific information is converted insofar as
|
||||||
possible if *message* is a :class:`Message` instance. If *message* is a string,
|
possible if *message* is a :class:`Message` instance. If *message* is a string,
|
||||||
a byte string,
|
a byte string,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue