]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 29 Dec 2020 04:21:43 +0000 (20:21 -0800)
committerGitHub <noreply@github.com>
Tue, 29 Dec 2020 04:21:43 +0000 (20:21 -0800)
Automerge-Triggered-By: GH:zware
(cherry picked from commit c56988b88fecf6dc70f039704fda6051a0754db1)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Doc/library/email.headerregistry.rst

index 9376da2b8d39ce78eec59ba70005457b85c65f6d..3e1d97a03264b2df2032a33afb8607af3fb081b4 100644 (file)
@@ -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.