summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.compat32-message.rst
diff options
context:
space:
mode:
authorDenis Laxalde <denis@laxalde.org>2021-04-26 01:38:12 (GMT)
committerGitHub <noreply@github.com>2021-04-26 01:38:12 (GMT)
commitcb5c802dcf8851663c4eac5d73f968f626a3a1dc (patch)
treeabbfa2162458e5283a5d88b356e4e082d6f4b4dc /Doc/library/email.compat32-message.rst
parent0d930f108cb8ba66f54197175c1fba0c38253e4a (diff)
downloadcpython-cb5c802dcf8851663c4eac5d73f968f626a3a1dc.zip
cpython-cb5c802dcf8851663c4eac5d73f968f626a3a1dc.tar.gz
cpython-cb5c802dcf8851663c4eac5d73f968f626a3a1dc.tar.bz2
Fix id of 'Internet Message Format' RFC in email doc (GH-24137)
Previous ID (5233) refers to "Sieve Email Filtering: Subaddress Extension". It seems that the actual reference should be "Internet Message Format" RFC 5322 (https://tools.ietf.org/html/rfc5322). (The typo probably comes from commit 29d1bc0842 in which the ID of this RFC got updated from the obsolete 2822.) Co-authored-by: Ambrose Chua <ambrose@hey.com>
Diffstat (limited to 'Doc/library/email.compat32-message.rst')
-rw-r--r--Doc/library/email.compat32-message.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/email.compat32-message.rst b/Doc/library/email.compat32-message.rst
index 745b3a6..c68e773 100644
--- a/Doc/library/email.compat32-message.rst
+++ b/Doc/library/email.compat32-message.rst
@@ -23,7 +23,7 @@ policy :attr:`~email.policy.Compat32`. If you are going to use another policy,
you should be using the :class:`~email.message.EmailMessage` class instead.
An email message consists of *headers* and a *payload*. Headers must be
-:rfc:`5233` style names and values, where the field name and value are
+:rfc:`5322` style names and values, where the field name and value are
separated by a colon. The colon is not part of either the field name or the
field value. The payload may be a simple text message, or a binary object, or
a structured sequence of sub-messages each with their own set of headers and