mirror of https://github.com/python/cpython
gh-120276: Fix incorrect email.header.Header maxlinelen default (GH-120277)
This commit is contained in:
parent
5d59b870ef
commit
7c016deae6
|
@ -77,7 +77,7 @@ Here is the :class:`Header` class description:
|
||||||
The maximum line length can be specified explicitly via *maxlinelen*. For
|
The maximum line length can be specified explicitly via *maxlinelen*. For
|
||||||
splitting the first line to a shorter value (to account for the field header
|
splitting the first line to a shorter value (to account for the field header
|
||||||
which isn't included in *s*, e.g. :mailheader:`Subject`) pass in the name of the
|
which isn't included in *s*, e.g. :mailheader:`Subject`) pass in the name of the
|
||||||
field in *header_name*. The default *maxlinelen* is 76, and the default value
|
field in *header_name*. The default *maxlinelen* is 78, and the default value
|
||||||
for *header_name* is ``None``, meaning it is not taken into account for the
|
for *header_name* is ``None``, meaning it is not taken into account for the
|
||||||
first line of a long, split header.
|
first line of a long, split header.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue