]> granicus.if.org Git - python/commit
These two classes provide bases for more specific content type
authorBarry Warsaw <barry@python.org>
Sat, 1 Jun 2002 05:59:12 +0000 (05:59 +0000)
committerBarry Warsaw <barry@python.org>
Sat, 1 Jun 2002 05:59:12 +0000 (05:59 +0000)
commit2f514a806d28a9324bfe9f33755e3f7223268577
tree3719dc5fdd452489e6390acaf36408879575c9fe
parent1c30aa2292d244026afc8bf36455ef12deb0760a
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.
Lib/email/MIMEMultipart.py [new file with mode: 0644]
Lib/email/MIMENonMultipart.py [new file with mode: 0644]