This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: email.mime incorrectly documented (or implemented)
Type: behavior Stage:
Components: Documentation Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: beazley, georg.brandl
Priority: normal Keywords:

Created on 2008-12-29 15:55 by beazley, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg78458 - (view) Author: David M. Beazley (beazley) Date: 2008-12-29 15:55
The documentation describes classes such as

email.mime.MIMEText()
email.mime.MIMEMultipart()
email.mime.MIMEApplication()
etc...

However, it's confusing because none of these classes are actually found 
in email.mime.

Suggest either using the full proper name:

   email.mime.text.MIMEText()

Or just using the short name along with a note saying where it's found:

   MIMEText()
   Defined in email.mime.text.  Further description, blah, blah..

Note:  These classes *are* defined in email.mime in Python 2.6.
msg78709 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-01-01 13:15
Thanks, fixed in r68127.
History
Date User Action Args
2022-04-11 14:56:43adminsetgithub: 49017
2009-01-01 13:15:01georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg78709
2008-12-29 15:55:08beazleycreate