/external/python/cpython2/Lib/email/ |
D | generator.py | 67 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)
|
D | message.py | 122 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/cpython3/Lib/email/ |
D | generator.py | 72 def flatten(self, msg, unixfrom=False, linesep=None): argument 111 if unixfrom: 272 g.flatten(part, unixfrom=False, linesep=self._NL) 331 g.flatten(part, unixfrom=False, linesep=self._NL) 358 g.flatten(msg.get_payload(0), unixfrom=False, linesep=self._NL)
|
D | message.py | 137 def as_string(self, unixfrom=False, maxheaderlen=0, policy=None): argument 158 g.flatten(self, unixfrom=unixfrom) 166 def as_bytes(self, unixfrom=False, policy=None): argument 178 g.flatten(self, unixfrom=unixfrom) 188 def set_unixfrom(self, unixfrom): argument 189 self._unixfrom = unixfrom 954 def as_string(self, unixfrom=False, maxheaderlen=None, policy=None): argument
|
/external/python/cpython2/Doc/library/ |
D | email.generator.rst | 53 .. 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
|
D | email.message.rst | 39 .. 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.
|
D | rfc822.rst | 290 .. attribute:: Message.unixfrom
|
/external/python/cpython3/Doc/library/ |
D | email.generator.rst | 77 .. method:: flatten(msg, unixfrom=False, linesep=None) 100 If *unixfrom* is ``True``, print the envelope header delimiter used by 176 .. method:: flatten(msg, unixfrom=False, linesep=None) 193 If *unixfrom* is ``True``, print the envelope header delimiter used by 273 ``unixfrom``, and that there are no :mod:`policy` settings calling for
|
D | email.message.rst | 62 .. method:: as_string(unixfrom=False, maxheaderlen=None, policy=None) 65 *unixfrom* is true, the envelope header is included in the returned 66 string. *unixfrom* defaults to ``False``. For backward compatibility 104 .. method:: as_bytes(unixfrom=False, policy=None) 107 *unixfrom* is true, the envelope header is included in the returned 108 string. *unixfrom* defaults to ``False``. The *policy* argument may be 143 .. method:: set_unixfrom(unixfrom) 145 Set the message's envelope header to *unixfrom*, which should be a
|
D | email.compat32-message.rst | 66 .. method:: as_string(unixfrom=False, maxheaderlen=0, policy=None) 68 Return the entire message flattened as a string. When optional *unixfrom* 70 *unixfrom* defaults to ``False``. For backward compatibility reasons, 110 .. method:: as_bytes(unixfrom=False, policy=None) 113 *unixfrom* is true, the envelope header is included in the returned 114 string. *unixfrom* defaults to ``False``. The *policy* argument may be 162 .. method:: set_unixfrom(unixfrom) 164 Set the message's envelope header to *unixfrom*, which should be a string.
|
/external/python/cpython2/Lib/ |
D | rfc822.py | 138 self.unixfrom = '' 161 self.unixfrom = self.unixfrom + line
|
D | httplib.py | 299 self.unixfrom = '' 324 self.unixfrom = self.unixfrom + line
|
D | mailbox.py | 1595 unixfrom = message.get_unixfrom() 1596 if unixfrom is not None and unixfrom.startswith('From '): 1597 self.set_from(unixfrom[5:])
|
/external/python/apitools/apitools/base/py/ |
D | batch.py | 350 gen.flatten(msg, unixfrom=False)
|
D | transfer.py | 765 g.flatten(msg_root, unixfrom=False)
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 300 fullrepr = msg.as_string(unixfrom=True) 319 fullrepr = msg.as_bytes(unixfrom=True) 2716 def _idempotent(self, msg, text, unixfrom=False): argument 2720 g.flatten(msg, unixfrom=unixfrom) 2809 self._idempotent(msg, text, unixfrom=True) 4005 email.generator.BytesGenerator(out).flatten(msg, unixfrom=True) 4161 def _idempotent(self, msg, data, unixfrom=False): argument 4164 g.flatten(msg, unixfrom=unixfrom, linesep=self.linesep)
|
/external/python/cpython3/Lib/ |
D | mailbox.py | 787 self.get_bytes(key)).as_string(unixfrom=from_) 1641 unixfrom = message.get_unixfrom() 1642 if unixfrom is not None and unixfrom.startswith('From '): 1643 self.set_from(unixfrom[5:])
|
/external/python/google-api-python-client/googleapiclient/ |
D | http.py | 1252 g.flatten(msg, unixfrom=False) 1374 g.flatten(message, unixfrom=False)
|
D | discovery.py | 865 g.flatten(msgRoot, unixfrom=False)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 805 argument, but does accept the *unixfrom* and *policy* arguments. The
|