commit | 2f514a806d28a9324bfe9f33755e3f7223268577 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sat Jun 01 05:59:12 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Sat Jun 01 05:59:12 2002 +0000 |
tree | 3719dc5fdd452489e6390acaf36408879575c9fe | |
parent | 1c30aa2292d244026afc8bf36455ef12deb0760a [diff] |
These two classes provide bases for more specific content type subclasses. MIMENonMultipart: Base class for non-multipart/* content type subclass specializations, e.g. image/gif. This class overrides attach() which raises an exception, since it makes no sense to attach a subpart to e.g. an image/gif message. MIMEMultipart: Base class for multipart/* content type subclass specializations, e.g. multipart/mixed. Does little more than provide a useful constructor.