From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 8 Jun 2024 17:37:50 +0000 (+0200) Subject: [3.13] gh-120276: Fix incorrect email.header.Header maxlinelen default (GH-120277... X-Git-Tag: v3.13.0b3~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6689d91b2dc2a9b5f94334ff30abf56bf016ff2;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-120276: Fix incorrect email.header.Header maxlinelen default (GH-120277) (GH-120279) (cherry picked from commit 7c016deae62308dd1b4e2767fc6abf04857c7843) Co-authored-by: Clinton --- diff --git a/Doc/library/email.header.rst b/Doc/library/email.header.rst index 6e230d5faf16..219fad0d2f67 100644 --- a/Doc/library/email.header.rst +++ b/Doc/library/email.header.rst @@ -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.