Home
last modified time | relevance | path

Searched refs:BabylMessage (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_mailbox.py1185 msg0 = mailbox.BabylMessage(self._template % 0)
1189 msg1 = mailbox.BabylMessage(self._template % 1)
1261 mailbox.BabylMessage, mailbox.MMDFMessage):
1433 _factory = mailbox.BabylMessage
1440 msg = mailbox.BabylMessage(_sample_message)
1463 msg = mailbox.BabylMessage(_sample_message)
1497 mailbox.BabylMessage, mailbox.MMDFMessage):
1506 mailbox.BabylMessage, mailbox.MMDFMessage):
1515 mailbox.BabylMessage, mailbox.MMDFMessage):
1566 self.assertEqual(mailbox.BabylMessage(msg_maildir).get_labels(),
[all …]
/external/python/cpython3/Lib/test/
Dtest_mailbox.py22 mailbox.BabylMessage, mailbox.MMDFMessage)
1295 msg0 = mailbox.BabylMessage(self._template % 0)
1299 msg1 = mailbox.BabylMessage(self._template % 1)
1588 _factory = mailbox.BabylMessage
1595 msg = mailbox.BabylMessage(_sample_message)
1618 msg = mailbox.BabylMessage(_sample_message)
1736 self.assertEqual(mailbox.BabylMessage(msg_maildir).get_labels(),
1789 self.assertEqual(mailbox.BabylMessage(msg).get_labels(), result)
1837 self.assertEqual(mailbox.BabylMessage(msg).get_labels(), result)
1842 self.assertEqual(mailbox.BabylMessage(msg).get_labels(),
[all …]
/external/python/cpython3/Doc/library/
Dmailbox.rst639 If *factory* is ``None``, :class:`BabylMessage` is used as the default message
945 :class:`BabylMessage` instance, the following conversions take place:
948 | Resulting state | :class:`BabylMessage` state |
1084 :class:`BabylMessage` instance, the following conversions take place:
1087 | Resulting state | :class:`BabylMessage` state |
1195 :class:`BabylMessage` instance, the following conversions take place:
1198 | Resulting state | :class:`BabylMessage` state |
1208 :class:`BabylMessage`
1212 .. class:: BabylMessage(message=None)
1238 By default, Rmail displays only visible headers. The :class:`BabylMessage`
[all …]
/external/python/cpython2/Lib/
Dmailbox.py1242 if isinstance(message, BabylMessage):
1255 if isinstance(message, BabylMessage):
1277 msg = BabylMessage(original_headers.getvalue() + body)
1363 if isinstance(message, BabylMessage):
1391 if isinstance(message, BabylMessage):
1571 elif isinstance(message, BabylMessage):
1682 elif isinstance(message, BabylMessage):
1760 elif isinstance(message, BabylMessage):
1773 class BabylMessage(Message): class
1855 elif isinstance(message, BabylMessage):
/external/python/cpython3/Lib/
Dmailbox.py1251 if isinstance(message, BabylMessage):
1264 if isinstance(message, BabylMessage):
1289 msg = BabylMessage(original_headers.getvalue() + body)
1381 if isinstance(message, BabylMessage):
1409 if isinstance(message, BabylMessage):
1615 elif isinstance(message, BabylMessage):
1728 elif isinstance(message, BabylMessage):
1808 elif isinstance(message, BabylMessage):
1821 class BabylMessage(Message): class
1905 elif isinstance(message, BabylMessage):
/external/python/cpython2/Doc/library/
Dmailbox.rst622 If *factory* is ``None``, :class:`BabylMessage` is used as the default message
926 :class:`BabylMessage` instance, the following conversions take place:
929 | Resulting state | :class:`BabylMessage` state |
1065 :class:`BabylMessage` instance, the following conversions take place:
1068 | Resulting state | :class:`BabylMessage` state |
1176 :class:`BabylMessage` instance, the following conversions take place:
1179 | Resulting state | :class:`BabylMessage` state |
1189 :class:`BabylMessage`
1193 .. class:: BabylMessage([message])
1219 By default, Rmail displays only visible headers. The :class:`BabylMessage`
[all …]