summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.generator.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2016-09-08 21:57:06 (GMT)
committerR David Murray <rdmurray@bitdance.com>2016-09-08 21:57:06 (GMT)
commit301edfa579036baf35c1aa4ab5ea50bcd51c0fe0 (patch)
treeb5df0f6b6c5e58020fbda4c60bbcd4bdb1c8bf65 /Doc/library/email.generator.rst
parent4c483ad52b6f7760a0a861badae6c803d6ce8590 (diff)
downloadcpython-301edfa579036baf35c1aa4ab5ea50bcd51c0fe0.zip
cpython-301edfa579036baf35c1aa4ab5ea50bcd51c0fe0.tar.gz
cpython-301edfa579036baf35c1aa4ab5ea50bcd51c0fe0.tar.bz2
Add policy keyword to email.generator.DecodedGenerator.
Diffstat (limited to 'Doc/library/email.generator.rst')
-rw-r--r--Doc/library/email.generator.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/email.generator.rst b/Doc/library/email.generator.rst
index c1d94ca..ab0fbc2 100644
--- a/Doc/library/email.generator.rst
+++ b/Doc/library/email.generator.rst
@@ -234,7 +234,8 @@ except that non-\ :mimetype:`text` parts are not serialized, but are instead
represented in the output stream by a string derived from a template filled
in with information about the part.
-.. class:: DecodedGenerator(outfp, mangle_from_=None, maxheaderlen=78, fmt=None)
+.. class:: DecodedGenerator(outfp, mangle_from_=None, maxheaderlen=None, \
+ fmt=None, *, policy=None)
Act like :class:`Generator`, except that for any subpart of the message
passed to :meth:`Generator.flatten`, if the subpart is of main type
@@ -263,8 +264,7 @@ in with information about the part.
"[Non-text (%(type)s) part of message omitted, filename %(filename)s]"
Optional *_mangle_from_* and *maxheaderlen* are as with the
- :class:`Generator` base class, except that the default value for
- *maxheaderlen* is ``78`` (the RFC standard default header length).
+ :class:`Generator` base class.
.. rubric:: Footnotes