Home
last modified time | relevance | path

Searched refs:_subtype (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/email/mime/
Dimage.py19 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,
Daudio.py45 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,
Dapplication.py16 def __init__(self, _data, _subtype='octet-stream', argument
32 if _subtype is None:
34 MIMENonMultipart.__init__(self, 'application', _subtype, policy=policy,
Dmessage.py17 def __init__(self, _msg, _subtype='rfc822', *, policy=None): argument
27 MIMENonMultipart.__init__(self, 'message', _subtype, policy=policy)
Dmultipart.py16 def __init__(self, _subtype='mixed', boundary=None, _subparts=None, argument
37 MIMEBase.__init__(self, 'multipart', _subtype, policy=policy, **_params)
Dbase.py18 def __init__(self, _maintype, _subtype, *, policy=None, **_params): argument
28 ctype = '%s/%s' % (_maintype, _subtype)
Dtext.py17 def __init__(self, _text, _subtype='plain', _charset=None, *, policy=None): argument
39 MIMENonMultipart.__init__(self, 'text', _subtype, policy=policy,
/third_party/python/Doc/library/
Demail.mime.rst33 .. 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 …]
Demail.encoders.rst17 class sets the content type and CTE header using the *_subtype* and *_charset*
/third_party/python/Lib/email/
Dheaderregistry.py475 self._subtype = utils._sanitize(self._parse_tree.subtype)
483 return self._subtype
Dmessage.py1139 def _add_multipart(self, _subtype, *args, _disp=None, **kw): argument
1141 self.get_content_subtype() != _subtype):
1142 getattr(self, 'make_' + _subtype)()
/third_party/json/
DChangeLog.md583 - Change argument name "subtype" in byte\_container\_with\_subtype [\#2444](https://github.com/nloh…