diff options
Diffstat (limited to 'Doc/library/email.contentmanager.rst')
-rw-r--r-- | Doc/library/email.contentmanager.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/email.contentmanager.rst b/Doc/library/email.contentmanager.rst index cd63728372..c25d073683 100644 --- a/Doc/library/email.contentmanager.rst +++ b/Doc/library/email.contentmanager.rst @@ -347,7 +347,7 @@ Currently the email package provides only one concrete content manager, .. method:: get_content(msg, errors='replace') - Return the payload of the part as either a string (for ``text`` parts), a + Return the payload of the part as either a string (for ``text`` parts), an :class:`~email.message.EmailMessage` object (for ``message/rfc822`` parts), or a ``bytes`` object (for all other non-multipart types). Raise a :exc:`KeyError` if called on a ``multipart``. If the part is a |