Home
last modified time | relevance | path

Searched refs:is_multipart (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython3/Lib/email/
Diterators.py27 if self.is_multipart():
69 if msg.is_multipart():
Dmessage.py181 def is_multipart(self): member in Message
247 if self.is_multipart():
Dfeedparser.py192 and not root.is_multipart():
/external/python/cpython2/Lib/email/
Diterators.py27 if self.is_multipart():
71 if msg.is_multipart():
Dmessage.py140 def is_multipart(self): member in Message
195 if self.is_multipart():
Dfeedparser.py194 and not root.is_multipart():
/external/python/cpython2/Doc/library/
Demail.parser.rst20 return ``True`` from its :meth:`~email.message.Message.is_multipart` method, and
199 :meth:`~email.message.Message.is_multipart`. Their
205 :meth:`~email.message.Message.is_multipart` and their
212 :meth:`~email.message.Message.is_multipart` method will return ``True``.
218 :meth:`~email.message.Message.is_multipart` method may return ``False``.
Demail.message.rst67 .. method:: is_multipart()
71 :meth:`is_multipart` returns ``False``, the payload should be a string object.
97 :class:`Message` objects when :meth:`is_multipart` is ``True``, or a
98 string when :meth:`is_multipart` is ``False``. If the payload is a list
102 element of the payload, counting from zero, if :meth:`is_multipart` is
105 payload is a string (i.e. :meth:`is_multipart` is ``False``) and *i* is
Demail.errors.rst93 has this defect, its :meth:`~email.message.Message.is_multipart` method may
Demail.rst172 :meth:`~email.message.Message.is_multipart` returned false,
179 :meth:`~email.message.Message.is_multipart`, and
250 :meth:`~email.message.Message.is_multipart`.
/external/python/cpython3/Doc/library/
Demail.compat32-message.rst151 .. method:: is_multipart()
155 :meth:`is_multipart` returns ``False``, the payload should be a string
157 :meth:`is_multipart` returning ``True`` does not necessarily mean that
159 For example, ``is_multipart`` will return ``True`` when the
191 :class:`Message` objects when :meth:`is_multipart` is ``True``, or a
192 string when :meth:`is_multipart` is ``False``. If the payload is a list
196 element of the payload, counting from zero, if :meth:`is_multipart` is
199 payload is a string (i.e. :meth:`is_multipart` is ``False``) and *i* is
686 :meth:`is_multipart` returns ``True``, even though
695 ... part.is_multipart())
[all …]
Demail.parser.rst24 will return ``True`` from its :meth:`~email.message.EmailMessage.is_multipart`
297 :meth:`~email.message.EmailMessage.is_multipart`, and
303 :meth:`~email.message.EmailMessage.is_multipart`, and
309 :meth:`~email.message.EmailMessage.is_multipart` method will return ``True``.
316 :meth:`~email.message.EmailMessage.is_multipart` method may return ``False``.
Demail.message.rst131 .. method:: is_multipart()
135 :meth:`is_multipart` returns ``False``, the payload should be a string
137 :meth:`is_multipart` returning ``True`` does not necessarily mean that
139 For example, ``is_multipart`` will return ``True`` when the
458 with :meth:`~email.message.Message.is_multipart`.
504 :meth:`is_multipart` returns ``True``, even though
514 ... part.is_multipart())
532 subparts. ``is_multipart()`` returns ``True`` and ``walk`` descends
Demail.errors.rst101 has this defect, its :meth:`~email.message.Message.is_multipart` method may
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py1047 self.assertFalse(self._msg.is_multipart())
1105 self.assertTrue(m.is_multipart())
1114 self.assertFalse(m0.is_multipart())
1115 self.assertFalse(m1.is_multipart())
1420 self.assertTrue(msg.is_multipart())
1672 self.assertTrue(msg.is_multipart())
2457 self.assertFalse(msg.is_multipart())
2524 eq(msg.is_multipart(), 1)
2528 eq(part1.is_multipart(), 1)
2531 eq(part1a.is_multipart(), 0)
[all …]
Dtest_email.py1087 self.assertFalse(self._msg.is_multipart())
1170 self.assertTrue(m.is_multipart())
1179 self.assertFalse(m0.is_multipart())
1180 self.assertFalse(m1.is_multipart())
1485 self.assertTrue(msg.is_multipart())
1753 self.assertTrue(msg.is_multipart())
1988 self.assertTrue(msg.is_multipart())
2677 self.assertFalse(msg.is_multipart())
2744 eq(msg.is_multipart(), 1)
2748 eq(part1.is_multipart(), 1)
[all …]
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py1702 self.assertFalse(self._msg.is_multipart())
1790 self.assertTrue(m.is_multipart())
1799 self.assertFalse(m0.is_multipart())
1800 self.assertFalse(m1.is_multipart())
2105 self.assertTrue(msg.is_multipart())
2503 self.assertTrue(msg.is_multipart())
2729 self.assertTrue(msg.is_multipart())
3604 self.assertFalse(msg.is_multipart())
3615 self.assertFalse(msg.is_multipart())
3714 eq(msg.is_multipart(), 1)
[all …]
Dtest_message.py650 self.assertTrue(m.is_multipart())
/external/python/apitools/apitools/base/py/
Dbatch.py464 if not mime_response.is_multipart():
/external/python/google-api-python-client/googleapiclient/
Dhttp.py1463 if not mime_response.is_multipart():
/external/python/cpython2/Lib/test/
Dtest_mailbox.py32 self.assertTrue(msg.is_multipart())
1241 self.assertFalse(msg.is_multipart())
/external/python/cpython3/Lib/test/
Dtest_mailbox.py30 self.assertTrue(msg.is_multipart())
1416 self.assertFalse(msg.is_multipart())
/external/deqp/external/openglcts/modules/gl/
Dgl4cShadingLanguage420PackTests.cpp2863 const bool is_multipart = isShaderMultipart(); in prepareShaderSourceForDraw() local
2866 …std::string& shader_source_part_1 = (true == is_multipart) ? source.m_parts[1].m_code : source.m_p… in prepareShaderSourceForDraw()
2897 if (true == is_multipart) in prepareShaderSourceForDraw()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst4383 ``attach`` is called on a message for which ``is_multipart`` is False.
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst1713 MIMEMultipart.is_multipart() behaves correctly for a just-created (and

12