]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-120276: Fix incorrect email.header.Header maxlinelen default (GH-120277...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Jun 2024 17:26:01 +0000 (19:26 +0200)
committerGitHub <noreply@github.com>
Sat, 8 Jun 2024 17:26:01 +0000 (17:26 +0000)
(cherry picked from commit 7c016deae62308dd1b4e2767fc6abf04857c7843)

Co-authored-by: Clinton <pygeek@users.noreply.github.com>
Doc/library/email.header.rst

index 6e230d5faf1654019b8bed1bcd3635cb8163534f..219fad0d2f6745a9ea831397347f13f7d77ad733 100644 (file)
@@ -77,7 +77,7 @@ Here is the :class:`Header` class description:
    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
    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
    first line of a long, split header.