Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /opt/alt/python27/lib64/python2.7/email/mime/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python27/lib64/python2.7/email/mime/text.py
# Copyright (C) 2001-2006 Python Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

"""Class representing text/* type MIME documents."""

__all__ = ['MIMEText']

from email.encoders import encode_7or8bit
from email.mime.nonmultipart import MIMENonMultipart



class MIMEText(MIMENonMultipart):
    """Class for generating text/* type MIME documents."""

    def __init__(self, _text, _subtype='plain', _charset='us-ascii'):
        """Create a text/* type MIME document.

        _text is the string for this message object.

        _subtype is the MIME sub content type, defaulting to "plain".

        _charset is the character set parameter added to the Content-Type
        header.  This defaults to "us-ascii".  Note that as a side-effect, the
        Content-Transfer-Encoding header will also be set.
        """
        MIMENonMultipart.__init__(self, 'text', _subtype,
                                  **{'charset': _charset})
        self.set_payload(_text, _charset)
Name
Size
Permissions
Options
__init__.py
0 KB
-rw-r--r--
__init__.pyc
0.14 KB
-rw-r--r--
__init__.pyo
0.14 KB
-rw-r--r--
application.py
1.227 KB
-rw-r--r--
application.pyc
1.585 KB
-rw-r--r--
application.pyo
1.585 KB
-rw-r--r--
audio.py
2.62 KB
-rw-r--r--
audio.pyc
2.892 KB
-rw-r--r--
audio.pyo
2.892 KB
-rw-r--r--
base.py
0.775 KB
-rw-r--r--
base.pyc
1.128 KB
-rw-r--r--
base.pyo
1.128 KB
-rw-r--r--
image.py
1.723 KB
-rw-r--r--
image.pyc
2.039 KB
-rw-r--r--
image.pyo
2.039 KB
-rw-r--r--
message.py
1.256 KB
-rw-r--r--
message.pyc
1.452 KB
-rw-r--r--
message.pyo
1.452 KB
-rw-r--r--
multipart.py
1.536 KB
-rw-r--r--
multipart.pyc
1.668 KB
-rw-r--r--
multipart.pyo
1.668 KB
-rw-r--r--
nonmultipart.py
0.675 KB
-rw-r--r--
nonmultipart.pyc
0.905 KB
-rw-r--r--
nonmultipart.pyo
0.905 KB
-rw-r--r--
text.py
0.982 KB
-rw-r--r--
text.pyc
1.315 KB
-rw-r--r--
text.pyo
1.315 KB
-rw-r--r--