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)
1320 msg0 = mailbox.BabylMessage(self._template % 0)
1324 msg1 = mailbox.BabylMessage(self._template % 1)
1613 _factory = mailbox.BabylMessage
1620 msg = mailbox.BabylMessage(_sample_message)
1643 msg = mailbox.BabylMessage(_sample_message)
1761 self.assertEqual(mailbox.BabylMessage(msg_maildir).get_labels(),
1814 self.assertEqual(mailbox.BabylMessage(msg).get_labels(), result)
1862 self.assertEqual(mailbox.BabylMessage(msg).get_labels(), result)
1867 self.assertEqual(mailbox.BabylMessage(msg).get_labels(),
[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.py1254 if isinstance(message, BabylMessage):
1267 if isinstance(message, BabylMessage):
1292 msg = BabylMessage(original_headers.getvalue() + body)
1384 if isinstance(message, BabylMessage):
1412 if isinstance(message, BabylMessage):
1618 elif isinstance(message, BabylMessage):
1731 elif isinstance(message, BabylMessage):
1811 elif isinstance(message, BabylMessage):
1824 class BabylMessage(Message): class
1908 elif isinstance(message, BabylMessage):
/external/python/cpython3/Doc/library/
Dmailbox.rst636 If *factory* is ``None``, :class:`BabylMessage` is used as the default message
942 :class:`BabylMessage` instance, the following conversions take place:
945 | Resulting state | :class:`BabylMessage` state |
1081 :class:`BabylMessage` instance, the following conversions take place:
1084 | Resulting state | :class:`BabylMessage` state |
1192 :class:`BabylMessage` instance, the following conversions take place:
1195 | Resulting state | :class:`BabylMessage` state |
1205 :class:`BabylMessage`
1209 .. class:: BabylMessage(message=None)
1235 By default, Rmail displays only visible headers. The :class:`BabylMessage`
[all …]
/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 …]