]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Generator's constructor: The documentation was incorrect regarding how
authorBarry Warsaw <barry@python.org>
Wed, 19 Nov 2003 02:20:14 +0000 (02:20 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 19 Nov 2003 02:20:14 +0000 (02:20 +0000)
header wrapping gets done when maxheaderlen <> 0.  The header really
gets wrapped via the email.Header.Header class, which has a more
sophisticated algorithm than just splitting on semi-colons.

Doc/lib/emailgenerator.tex

index 96eb2687a9e45ae6f7c33d7168c99045b4f9e20e..330abc0d41ee44223b259c0bf4dbb6f262ba84ca 100644 (file)
@@ -40,9 +40,8 @@ mailbox format files.
 Optional \var{maxheaderlen} specifies the longest length for a
 non-continued header.  When a header line is longer than
 \var{maxheaderlen} (in characters, with tabs expanded to 8 spaces),
-the header will be broken on semicolons and continued as per
-\rfc{2822}.  If no semicolon is found, then the header is left alone.
-Set to zero to disable wrapping headers.  Default is 78, as
+the header will be split as defined in the \module{email.Header}
+class.  Set to zero to disable header wrapping.  The default is 78, as
 recommended (but not required) by \rfc{2822}.
 \end{classdesc}