Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_mailbox.py508 msg = mailbox.MaildirMessage(self._template % 0)
517 msg = mailbox.MaildirMessage(self._template % 0)
522 self.assertIsInstance(msg_returned, mailbox.MaildirMessage)
528 msg0 = mailbox.MaildirMessage(self._template % 0)
534 msg1 = mailbox.MaildirMessage(self._template % 1)
540 msg2 = mailbox.MaildirMessage(self._template % 2)
551 msg = mailbox.MaildirMessage(self._template % 0)
557 class FakeMessage(mailbox.MaildirMessage):
778 msg = mailbox.MaildirMessage(self._template % 0)
1259 for class_ in (mailbox.Message, mailbox.MaildirMessage,
[all …]
/external/python/cpython3/Lib/test/
Dtest_mailbox.py20 all_mailbox_types = (mailbox.Message, mailbox.MaildirMessage,
602 msg = mailbox.MaildirMessage(self._template % 0)
611 msg = mailbox.MaildirMessage(self._template % 0)
616 self.assertIsInstance(msg_returned, mailbox.MaildirMessage)
622 msg0 = mailbox.MaildirMessage(self._template % 0)
628 msg1 = mailbox.MaildirMessage(self._template % 1)
634 msg2 = mailbox.MaildirMessage(self._template % 2)
645 msg = mailbox.MaildirMessage(self._template % 0)
651 class FakeMessage(mailbox.MaildirMessage):
870 msg = mailbox.MaildirMessage(self._template % 0)
[all …]
/external/python/cpython3/Doc/library/
Dmailbox.rst307 If *factory* is ``None``, :class:`MaildirMessage` is used as the default message
796 :class:`MaildirMessage`
800 .. class:: MaildirMessage(message=None)
832 :class:`MaildirMessage` instances offer the following methods:
909 When a :class:`MaildirMessage` instance is created based upon an
929 When a :class:`MaildirMessage` instance is created based upon an
944 When a :class:`MaildirMessage` instance is created based upon a
1050 :class:`MaildirMessage` instance, a "From " line is generated based upon the
1051 :class:`MaildirMessage` instance's delivery date, and the following conversions
1055 | Resulting state | :class:`MaildirMessage` state |
[all …]
/external/python/cpython2/Lib/
Dmailbox.py277 if isinstance(message, MaildirMessage):
287 if isinstance(message, MaildirMessage):
328 if isinstance(message, MaildirMessage):
342 if isinstance(message, MaildirMessage):
358 msg = MaildirMessage(f)
1481 class MaildirMessage(Message): class
1546 if isinstance(message, MaildirMessage):
1649 if isinstance(message, MaildirMessage):
1736 if isinstance(message, MaildirMessage):
1826 if isinstance(message, MaildirMessage):
/external/python/cpython3/Lib/
Dmailbox.py299 if isinstance(message, MaildirMessage):
309 if isinstance(message, MaildirMessage):
348 if isinstance(message, MaildirMessage):
362 if isinstance(message, MaildirMessage):
377 msg = MaildirMessage(f)
1523 class MaildirMessage(Message): class
1590 if isinstance(message, MaildirMessage):
1695 if isinstance(message, MaildirMessage):
1784 if isinstance(message, MaildirMessage):
1876 if isinstance(message, MaildirMessage):
/external/python/cpython2/Doc/library/
Dmailbox.rst287 If *factory* is ``None``, :class:`MaildirMessage` is used as the default message
777 :class:`MaildirMessage`
781 .. class:: MaildirMessage([message])
813 :class:`MaildirMessage` instances offer the following methods:
890 When a :class:`MaildirMessage` instance is created based upon an
910 When a :class:`MaildirMessage` instance is created based upon an
925 When a :class:`MaildirMessage` instance is created based upon a
1031 :class:`MaildirMessage` instance, a "From " line is generated based upon the
1032 :class:`MaildirMessage` instance's delivery date, and the following conversions
1036 | Resulting state | :class:`MaildirMessage` state |
[all …]