Home
last modified time | relevance | path

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

/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.rst172 :meth:`~email.message.Message.is_multipart` returned false,
179 :meth:`~email.message.Message.is_multipart`, and
250 :meth:`~email.message.Message.is_multipart`.
Demail.errors.rst93 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/cpython2/Lib/test/
Dtest_mailbox.py32 self.assertTrue(msg.is_multipart())
1241 self.assertFalse(msg.is_multipart())
/external/python/cpython2/Misc/
DNEWS11006 - Issue #1822: MIMEMultipart.is_multipart() behaves correctly for a