https://github.com/python/cpython/commit/7c016deae62308dd1b4e2767fc6abf04857c7843
commit: 7c016deae62308dd1b4e2767fc6abf04857c7843
branch: main
author: Clinton <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-06-08T20:18:58+03:00
summary:
gh-120276: Fix incorrect email.header.Header maxlinelen default (GH-120277)
files:
M Doc/library/email.header.rst
diff --git a/Doc/library/email.header.rst b/Doc/library/email.header.rst
index 6e230d5faf1654..219fad0d2f6745 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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]