/external/python/cpython3/Lib/email/ |
D | generator.py | 36 def __init__(self, outfp, mangle_from_=None, maxheaderlen=None, *, argument 65 self.maxheaderlen = maxheaderlen 96 if self.maxheaderlen is not None: 97 policy = policy.clone(max_line_length=self.maxheaderlen) 455 def __init__(self, outfp, mangle_from_=None, maxheaderlen=None, fmt=None, *, argument 478 Generator.__init__(self, outfp, mangle_from_, maxheaderlen,
|
D | message.py | 137 def as_string(self, unixfrom=False, maxheaderlen=0, policy=None): argument 156 maxheaderlen=maxheaderlen, 954 def as_string(self, unixfrom=False, maxheaderlen=None, policy=None): argument 966 if maxheaderlen is None: 967 maxheaderlen = policy.max_line_length 968 return super().as_string(maxheaderlen=maxheaderlen, policy=policy)
|
/external/python/cpython2/Lib/email/ |
D | generator.py | 42 def __init__(self, outfp, mangle_from_=True, maxheaderlen=78): argument 61 self._maxheaderlen = maxheaderlen 302 def __init__(self, outfp, mangle_from_=True, maxheaderlen=78, fmt=None): argument 324 Generator.__init__(self, outfp, mangle_from_, maxheaderlen)
|
/external/python/cpython2/Doc/library/ |
D | email.generator.rst | 29 .. class:: Generator(outfp[, mangle_from_[, maxheaderlen]]) 44 Optional *maxheaderlen* specifies the longest length for a non-continued header. 45 When a header line is longer than *maxheaderlen* (in characters, with tabs 96 .. class:: DecodedGenerator(outfp[, mangle_from_[, maxheaderlen[, fmt]]]) 100 decoded payload of the subpart. Optional *_mangle_from_* and *maxheaderlen* are 132 ``unixfrom`` argument, and that you set maxheaderlen=0 (which will
|
D | email.message.rst | 57 g = Generator(fp, mangle_from_=False, maxheaderlen=60)
|
/external/python/cpython3/Doc/library/ |
D | email.generator.rst | 44 .. class:: BytesGenerator(outfp, mangle_from_=None, maxheaderlen=None, *, \ 62 If *maxheaderlen* is not ``None``, refold any header lines that are longer 63 than *maxheaderlen*, or if ``0``, do not rewrap any headers. If 78 and *maxheaderlen* parameters is to follow the policy. 145 .. class:: Generator(outfp, mangle_from_=None, maxheaderlen=None, *, \ 163 If *maxheaderlen* is not ``None``, refold any header lines that are longer 164 than *maxheaderlen*, or if ``0``, do not rewrap any headers. If 177 and *maxheaderlen* parameters is to follow the policy. 241 .. class:: DecodedGenerator(outfp, mangle_from_=None, maxheaderlen=None, \ 270 Optional *_mangle_from_* and *maxheaderlen* are as with the
|
D | email.compat32-message.rst | 67 .. method:: as_string(unixfrom=False, maxheaderlen=0, policy=None) 72 *maxheaderlen* defaults to ``0``, so if you want a different value you 93 g = Generator(fp, mangle_from_=True, maxheaderlen=60) 136 g = BytesGenerator(fp, mangle_from_=True, maxheaderlen=60)
|
D | email.message.rst | 62 .. method:: as_string(unixfrom=False, maxheaderlen=None, policy=None) 67 with the base :class:`~email.message.Message` class *maxheaderlen* is 88 .. versionchanged:: 3.6 the default behavior when *maxheaderlen*
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_generator.py | 90 g = self.genclass(s, maxheaderlen=n, policy=self.policy) 104 g = self.genclass(s, maxheaderlen=n,
|
D | test_email.py | 1247 eq(msg.as_string(maxheaderlen=76), """\ 1252 eq(msg.as_string(maxheaderlen=0), """\ 1264 eq(msg.as_string(maxheaderlen=78), """\ 1272 eq(msg.as_string(maxheaderlen=78), """\ 1287 eq(msg.as_string(maxheaderlen=78), '''\ 1335 self.ndiffAssertEqual(msg.as_string(maxheaderlen=78), """\ 1354 self.ndiffAssertEqual(msg.as_string(maxheaderlen=78), """\ 1375 eq(msg.as_string(maxheaderlen=78), """\ 1395 eq(msg.as_string(maxheaderlen=78), '''\ 1410 eq(msg.as_string(maxheaderlen=78), """\ [all …]
|
D | test_message.py | 773 self.assertEqual(len(m.as_string(maxheaderlen=0).strip().splitlines()), 775 self.assertEqual(len(m.as_string(maxheaderlen=34).strip().splitlines()),
|
D | test_contentmanager.py | 557 self.assertEqual(m.as_string(maxheaderlen=self.policy.max_line_length),
|
/external/python/apitools/apitools/base/py/ |
D | batch.py | 359 gen = generator.Generator(str_io, maxheaderlen=0)
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 1925 g = Generator(s, maxheaderlen=0) 2074 g = Generator(s, maxheaderlen=0) 2087 g = Generator(s, maxheaderlen=0)
|
D | test_email.py | 2009 g = Generator(s, maxheaderlen=0) 2158 g = Generator(s, maxheaderlen=0) 2171 g = Generator(s, maxheaderlen=0)
|
/external/python/google-api-python-client/googleapiclient/ |
D | http.py | 1311 g = Generator(fp, maxheaderlen=0)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 804 produces a string representation. It does not accept the *maxheaderlen*
|