diff options
author | Georg Brandl <georg@python.org> | 2009-01-01 13:14:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-01 13:14:49 (GMT) |
commit | 4ba9f412bfec4462e17c91e6fe63aeda80b43974 (patch) | |
tree | 9f10365f896aa82a2e39047b88b6948f369acd2c | |
parent | 430effb6a91fa136f40f938581157bbaa70bbb95 (diff) | |
download | cpython-4ba9f412bfec4462e17c91e6fe63aeda80b43974.zip cpython-4ba9f412bfec4462e17c91e6fe63aeda80b43974.tar.gz cpython-4ba9f412bfec4462e17c91e6fe63aeda80b43974.tar.bz2 |
#4767: Use correct submodules for all MIME classes.
-rw-r--r-- | Doc/library/email.mime.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Doc/library/email.mime.rst b/Doc/library/email.mime.rst index 6f1b0ae..415a682 100644 --- a/Doc/library/email.mime.rst +++ b/Doc/library/email.mime.rst @@ -19,6 +19,7 @@ things easier. Here are the classes: +.. currentmodule:: email.mime.base .. class:: MIMEBase(_maintype, _subtype, **_params) @@ -39,6 +40,8 @@ Here are the classes: :mailheader:`MIME-Version` header (always set to ``1.0``). +.. currentmodule:: email.mime.nonmultipart + .. class:: MIMENonMultipart() Module: :mod:`email.mime.nonmultipart` @@ -52,6 +55,8 @@ Here are the classes: .. versionadded:: 2.2.2 +.. currentmodule:: email.mime.multipart + .. class:: MIMEMultipart([subtype[, boundary[, _subparts[, _params]]]]) Module: :mod:`email.mime.multipart` @@ -77,6 +82,8 @@ Here are the classes: .. versionadded:: 2.2.2 +.. currentmodule:: email.mime.application + .. class:: MIMEApplication(_data[, _subtype[, _encoder[, **_params]]]) Module: :mod:`email.mime.application` @@ -99,6 +106,8 @@ Here are the classes: .. versionadded:: 2.5 +.. currentmodule:: email.mime.audio + .. class:: MIMEAudio(_audiodata[, _subtype[, _encoder[, **_params]]]) Module: :mod:`email.mime.audio` @@ -122,6 +131,8 @@ Here are the classes: *_params* are passed straight through to the base class constructor. +.. currentmodule:: email.mime.image + .. class:: MIMEImage(_imagedata[, _subtype[, _encoder[, **_params]]]) Module: :mod:`email.mime.image` @@ -145,6 +156,8 @@ Here are the classes: *_params* are passed straight through to the :class:`MIMEBase` constructor. +.. currentmodule:: email.mime.message + .. class:: MIMEMessage(_msg[, _subtype]) Module: :mod:`email.mime.message` @@ -158,6 +171,8 @@ Here are the classes: :mimetype:`rfc822`. +.. currentmodule:: email.mime.text + .. class:: MIMEText(_text[, _subtype[, _charset]]) Module: :mod:`email.mime.text` |