diff options
author | Guido van Rossum <guido@python.org> | 2007-08-25 13:43:02 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-25 13:43:02 +0000 |
commit | 1058618145bb4a0026e7f473c81908d0515f4fd7 (patch) | |
tree | 06138aba0e403466ebe20f795b4525679786f952 /Lib/email/mime/base.py | |
parent | 9f8b7c06d53ae52d4099c020e4920cdb19c719fe (diff) | |
download | cpython-1058618145bb4a0026e7f473c81908d0515f4fd7.tar.gz |
Remove the email package for now.
Once Barry and the email-sig have a working new version
we'll add it back.
If it doesn't make the 3.0a deadline (release August 31), too bad.
Diffstat (limited to 'Lib/email/mime/base.py')
-rw-r--r-- | Lib/email/mime/base.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Lib/email/mime/base.py b/Lib/email/mime/base.py deleted file mode 100644 index ac919258b1..0000000000 --- a/Lib/email/mime/base.py +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (C) 2001-2006 Python Software Foundation -# Author: Barry Warsaw -# Contact: email-sig@python.org - -"""Base class for MIME specializations.""" - -__all__ = ['MIMEBase'] - -from email import message - - - -class MIMEBase(message.Message): - """Base class for MIME specializations.""" - - def __init__(self, _maintype, _subtype, **_params): - """This constructor adds a Content-Type: and a MIME-Version: header. - - The Content-Type: header is taken from the _maintype and _subtype - arguments. Additional parameters for this header are taken from the - keyword arguments. - """ - message.Message.__init__(self) - ctype = '%s/%s' % (_maintype, _subtype) - self.add_header('Content-Type', ctype, **_params) - self['MIME-Version'] = '1.0' |