[Python-checkins] bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)

miss-islington webhook-mailer at python.org
Mon Dec 28 23:21:52 EST 2020


https://github.com/python/cpython/commit/e11639880a73f30b4009efa8d14c350932e35332
commit: e11639880a73f30b4009efa8d14c350932e35332
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-12-28T20:21:43-08:00
summary:

bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)


Automerge-Triggered-By: GH:zware
(cherry picked from commit c56988b88fecf6dc70f039704fda6051a0754db1)

Co-authored-by: Zackery Spytz <zspytz at gmail.com>

files:
M Doc/library/email.headerregistry.rst

diff --git a/Doc/library/email.headerregistry.rst b/Doc/library/email.headerregistry.rst
index 9376da2b8d39c..3e1d97a03264b 100644
--- a/Doc/library/email.headerregistry.rst
+++ b/Doc/library/email.headerregistry.rst
@@ -289,7 +289,7 @@ variant, :attr:`~.BaseHeader.max_count` is set to 1.
     A :class:`ParameterizedMIMEHeader` class that handles the
     :mailheader:`Content-Disposition` header.
 
-    .. attribute:: content-disposition
+    .. attribute:: content_disposition
 
        ``inline`` and ``attachment`` are the only valid values in common use.
 



More information about the Python-checkins mailing list