/third_party/python/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,
|
/third_party/python/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*
|
/third_party/python/Lib/email/ |
D | headerregistry.py | 475 self._subtype = utils._sanitize(self._parse_tree.subtype) 483 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)()
|
/third_party/json/ |
D | ChangeLog.md | 583 - Change argument name "subtype" in byte\_container\_with\_subtype [\#2444](https://github.com/nloh…
|