/external/python/cpython2/Lib/email/mime/ |
D | image.py | 19 def __init__(self, _imagedata, _subtype=None, argument 40 if _subtype is None: 41 _subtype = imghdr.what(None, _imagedata) 42 if _subtype is None: 44 MIMENonMultipart.__init__(self, 'image', _subtype, **_params)
|
D | audio.py | 45 def __init__(self, _audiodata, _subtype=None, argument 67 if _subtype is None: 68 _subtype = _whatsnd(_audiodata) 69 if _subtype is None: 71 MIMENonMultipart.__init__(self, 'audio', _subtype, **_params)
|
D | application.py | 16 def __init__(self, _data, _subtype='octet-stream', argument 32 if _subtype is None: 34 MIMENonMultipart.__init__(self, 'application', _subtype, **_params)
|
D | base.py | 16 def __init__(self, _maintype, _subtype, **_params): argument 24 ctype = '%s/%s' % (_maintype, _subtype)
|
D | text.py | 17 def __init__(self, _text, _subtype='plain', _charset='us-ascii'): argument 28 MIMENonMultipart.__init__(self, 'text', _subtype,
|
D | message.py | 17 def __init__(self, _msg, _subtype='rfc822'): argument 27 MIMENonMultipart.__init__(self, 'message', _subtype)
|
D | multipart.py | 16 def __init__(self, _subtype='mixed', boundary=None, _subparts=None, argument 36 MIMEBase.__init__(self, 'multipart', _subtype, **_params)
|
/external/python/cpython3/Lib/email/mime/ |
D | image.py | 19 def __init__(self, _imagedata, _subtype=None, argument 40 if _subtype is None: 41 _subtype = imghdr.what(None, _imagedata) 42 if _subtype is None: 44 MIMENonMultipart.__init__(self, 'image', _subtype, policy=policy,
|
D | audio.py | 45 def __init__(self, _audiodata, _subtype=None, argument 67 if _subtype is None: 68 _subtype = _whatsnd(_audiodata) 69 if _subtype is None: 71 MIMENonMultipart.__init__(self, 'audio', _subtype, policy=policy,
|
D | application.py | 16 def __init__(self, _data, _subtype='octet-stream', argument 32 if _subtype is None: 34 MIMENonMultipart.__init__(self, 'application', _subtype, policy=policy,
|
D | message.py | 17 def __init__(self, _msg, _subtype='rfc822', *, policy=None): argument 27 MIMENonMultipart.__init__(self, 'message', _subtype, policy=policy)
|
D | multipart.py | 16 def __init__(self, _subtype='mixed', boundary=None, _subparts=None, argument 37 MIMEBase.__init__(self, 'multipart', _subtype, policy=policy, **_params)
|
D | base.py | 18 def __init__(self, _maintype, _subtype, *, policy=None, **_params): argument 28 ctype = '%s/%s' % (_maintype, _subtype)
|
D | text.py | 17 def __init__(self, _text, _subtype='plain', _charset=None, *, policy=None): argument 39 MIMENonMultipart.__init__(self, 'text', _subtype, policy=policy,
|
/external/python/cpython2/Doc/library/ |
D | email.mime.rst | 25 .. class:: MIMEBase(_maintype, _subtype, **_params) 36 or :mimetype:`image`), and *_subtype* is the :mailheader:`Content-Type` minor 42 (based on *_maintype*, *_subtype*, and *_params*), and a 64 .. class:: MIMEMultipart([_subtype[, boundary[, _subparts[, _params]]]]) 69 class for MIME messages that are :mimetype:`multipart`. Optional *_subtype* 71 message. A :mailheader:`Content-Type` header of :mimetype:`multipart/_subtype` 93 .. class:: MIMEApplication(_data[, _subtype[, _encoder[, **_params]]]) 100 byte data. Optional *_subtype* specifies the MIME subtype and defaults to 120 .. class:: MIMEAudio(_audiodata[, _subtype[, _encoder[, **_params]]]) 129 Otherwise you can explicitly specify the audio subtype via the *_subtype* [all …]
|
D | email.rst | 317 and *_minor* have changed to *_maintype* and *_subtype* respectively. 320 argument has been renamed to *_subtype*. 323 argument has been renamed to *_subtype*. 332 with main type :mimetype:`message`. It takes an optional argument *_subtype* 333 which is used to set the MIME subtype. *_subtype* defaults to
|
/external/python/cpython3/Doc/library/ |
D | email.mime.rst | 33 .. class:: MIMEBase(_maintype, _subtype, *, policy=compat32, **_params) 44 or :mimetype:`image`), and *_subtype* is the :mailheader:`Content-Type` minor 54 (based on *_maintype*, *_subtype*, and *_params*), and a 77 .. class:: MIMEMultipart(_subtype='mixed', boundary=None, _subparts=None, \ 83 class for MIME messages that are :mimetype:`multipart`. Optional *_subtype* 85 message. A :mailheader:`Content-Type` header of :mimetype:`multipart/_subtype` 109 .. class:: MIMEApplication(_data, _subtype='octet-stream', \ 118 byte data. Optional *_subtype* specifies the MIME subtype and defaults to 140 .. class:: MIMEAudio(_audiodata, _subtype=None, \ 151 Otherwise you can explicitly specify the audio subtype via the *_subtype* [all …]
|
D | email.encoders.rst | 17 class sets the content type and CTE header using the *_subtype* and *_charset*
|
/external/python/cpython2/Doc/includes/ |
D | email-dir.py | 81 msg = MIMEText(fp.read(), _subtype=subtype) 85 msg = MIMEImage(fp.read(), _subtype=subtype) 89 msg = MIMEAudio(fp.read(), _subtype=subtype)
|
/external/llvm-project/clang/tools/scan-view/share/ |
D | Reporter.py | 99 msg = MIMEText(fp.read(), _subtype=subtype) 132 msg.attach(MIMEText(mainMsg, _subtype='text/plain'))
|
/external/clang/tools/scan-view/share/ |
D | Reporter.py | 96 msg = MIMEText(fp.read(), _subtype=subtype) 129 msg.attach(MIMEText(mainMsg, _subtype='text/plain'))
|
/external/python/cpython3/Lib/email/ |
D | headerregistry.py | 472 self._subtype = utils._sanitize(self._parse_tree.subtype) 480 return self._subtype
|
D | message.py | 1139 def _add_multipart(self, _subtype, *args, _disp=None, **kw): argument 1141 self.get_content_subtype() != _subtype): 1142 getattr(self, 'make_' + _subtype)()
|
/external/python/pyasn1/docs/source/pyasn1/ |
D | contents.rst | 117 .. _subtype:
|