Home
last modified time | relevance | path

Searched refs:unixfrom (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/email/
Dgenerator.py67 def flatten(self, msg, unixfrom=False): argument
78 if unixfrom:
203 g.flatten(part, unixfrom=False)
261 g.flatten(part, unixfrom=False)
288 g.flatten(msg.get_payload(0), unixfrom=False)
Dmessage.py122 return self.as_string(unixfrom=True)
124 def as_string(self, unixfrom=False): argument
137 g.flatten(self, unixfrom=unixfrom)
147 def set_unixfrom(self, unixfrom): argument
148 self._unixfrom = unixfrom
/external/python/cpython2/Doc/library/
Demail.generator.rst53 .. method:: flatten(msg[, unixfrom])
60 Optional *unixfrom* is a flag that forces the printing of the envelope
132 ``unixfrom`` argument, and that you set maxheaderlen=0 (which will
Demail.message.rst39 .. method:: as_string([unixfrom])
41 Return the entire message flattened as a string. When optional *unixfrom*
43 *unixfrom* defaults to ``False``. Flattening the message may trigger
64 Equivalent to ``as_string(unixfrom=True)``.
74 .. method:: set_unixfrom(unixfrom)
76 Set the message's envelope header to *unixfrom*, which should be a string.
Drfc822.rst290 .. attribute:: Message.unixfrom
/external/python/cpython2/Lib/
Drfc822.py138 self.unixfrom = ''
161 self.unixfrom = self.unixfrom + line
Dhttplib.py299 self.unixfrom = ''
324 self.unixfrom = self.unixfrom + line
Dmailbox.py1595 unixfrom = message.get_unixfrom()
1596 if unixfrom is not None and unixfrom.startswith('From '):
1597 self.set_from(unixfrom[5:])