Issue 4767: email.mime incorrectly documented (or implemented) (original) (raw)

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.