mirror of https://github.com/python/cpython
Add maxlinelen to docstring, delete obsolete wording
This commit is contained in:
parent
84c209a1ef
commit
308f14aeae
|
@ -281,12 +281,12 @@ class Header:
|
||||||
75-character length limit on any given encoded header field, so
|
75-character length limit on any given encoded header field, so
|
||||||
line-wrapping must be performed, even with double-byte character sets.
|
line-wrapping must be performed, even with double-byte character sets.
|
||||||
|
|
||||||
This method will do its best to convert the string to the correct
|
Optional maxlinelen specifies the maxiumum length of each generated
|
||||||
character set used in email, and encode and line wrap it safely with
|
line, exclusive of the linesep string. Individual lines may be longer
|
||||||
the appropriate scheme for that character set.
|
than maxlinelen if a folding point cannot be found. The first line
|
||||||
|
will be shorter by the length of the header name plus ": " if a header
|
||||||
If the given charset is not known or an error occurs during
|
name was specified at Header construction time. The default value for
|
||||||
conversion, this function will return the header untouched.
|
maxlinelen is determined at header construction time.
|
||||||
|
|
||||||
Optional splitchars is a string containing characters to split long
|
Optional splitchars is a string containing characters to split long
|
||||||
ASCII lines on, in rough support of RFC 2822's `highest level
|
ASCII lines on, in rough support of RFC 2822's `highest level
|
||||||
|
|
Loading…
Reference in New Issue