]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/multipart.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / email / mime / multipart.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/multipart.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/multipart.py
deleted file mode 100644 (file)
index 83c0b75..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright (C) 2002-2006 Python Software Foundation\r
-# Author: Barry Warsaw\r
-# Contact: email-sig@python.org\r
-\r
-"""Base class for MIME multipart/* type messages."""\r
-\r
-__all__ = ['MIMEMultipart']\r
-\r
-from email.mime.base import MIMEBase\r
-\r
-\r
-\f\r
-class MIMEMultipart(MIMEBase):\r
-    """Base class for MIME multipart/* type messages."""\r
-\r
-    def __init__(self, _subtype='mixed', boundary=None, _subparts=None,\r
-                 **_params):\r
-        """Creates a multipart/* type message.\r
-\r
-        By default, creates a multipart/mixed message, with proper\r
-        Content-Type and MIME-Version headers.\r
-\r
-        _subtype is the subtype of the multipart content type, defaulting to\r
-        `mixed'.\r
-\r
-        boundary is the multipart boundary string.  By default it is\r
-        calculated as needed.\r
-\r
-        _subparts is a sequence of initial subparts for the payload.  It\r
-        must be an iterable object, such as a list.  You can always\r
-        attach new subparts to the message by using the attach() method.\r
-\r
-        Additional parameters for the Content-Type header are taken from the\r
-        keyword arguments (or passed into the _params argument).\r
-        """\r
-        MIMEBase.__init__(self, 'multipart', _subtype, **_params)\r
-\r
-        # Initialise _payload to an empty list as the Message superclass's\r
-        # implementation of is_multipart assumes that _payload is a list for\r
-        # multipart messages.\r
-        self._payload = []\r
-\r
-        if _subparts:\r
-            for p in _subparts:\r
-                self.attach(p)\r
-        if boundary:\r
-            self.set_boundary(boundary)\r