[Python-bugs-list] [ python-Bugs-816344 ] Missing import in email
example
SourceForge.net
noreply at sourceforge.net
Thu Oct 2 01:05:49 EDT 2003
Bugs item #816344, was opened at 2003-10-02 17:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816344&group_id=5470
Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Tony Meyer (anadelonbrin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Missing import in email example
Initial Comment:
The "email-dir.py" example in the email module
documentation is missing an import. The MIMEBase is
used (when a generic file is found), but MIMEBase is not
imported.
Putting "from email.MIMEBase import MIMEBase" with the
other imports fixes this.
This is Python 2.3.1, and also the cvs that anon sf
thinks is current.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816344&group_id=5470
More information about the Python-bugs-list
mailing list