This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Typo in email.headerregistry docs
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: ZackerySpytz, ammar2, bazwal, docs@python, miss-islington, zach.ware
Priority: normal Keywords: patch

Created on 2020-12-28 18:13 by bazwal, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23982 merged ZackerySpytz, 2020-12-28 23:46
PR 23984 merged miss-islington, 2020-12-29 04:14
PR 23985 merged miss-islington, 2020-12-29 04:14
Messages (7)
msg383910 - (view) Author: bazwal (bazwal) Date: 2020-12-28 18:13
The section for class email.headerregistry.ContentDispositionHeader has a typo in an attribute name: "content-disposition" should be corrected to "content_disposition".
msg383926 - (view) Author: Ammar Askar (ammar2) * (Python committer) Date: 2020-12-28 20:29
Confirmed, the attribute under https://docs.python.org/3.10/library/email.headerregistry.html#email.headerregistry.ContentDispositionHeader is incorrect.

bazwal, would you like to propose a patch to fix this? The code is here: https://github.com/python/cpython/blob/master/Doc/library/email.headerregistry.rst
msg383939 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2020-12-28 23:56
I've created a fix for this error.
msg383954 - (view) Author: miss-islington (miss-islington) Date: 2020-12-29 04:12
New changeset c56988b88fecf6dc70f039704fda6051a0754db1 by Zackery Spytz in branch 'master':
bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)
https://github.com/python/cpython/commit/c56988b88fecf6dc70f039704fda6051a0754db1
msg383956 - (view) Author: miss-islington (miss-islington) Date: 2020-12-29 04:21
New changeset e11639880a73f30b4009efa8d14c350932e35332 by Miss Islington (bot) in branch '3.8':
bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)
https://github.com/python/cpython/commit/e11639880a73f30b4009efa8d14c350932e35332
msg383957 - (view) Author: miss-islington (miss-islington) Date: 2020-12-29 04:37
New changeset 0b43778b3cd222761beb850178492b6bd0ea2370 by Miss Islington (bot) in branch '3.9':
bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)
https://github.com/python/cpython/commit/0b43778b3cd222761beb850178492b6bd0ea2370
msg383959 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-12-29 04:46
Thanks for the report, bazwal; for the patch, Zackery; and for the ping Ammar :)
History
Date User Action Args
2022-04-11 14:59:39adminsetgithub: 86936
2020-12-29 04:46:22zach.waresetstatus: open -> closed

type: enhancement -> behavior

nosy: + zach.ware
messages: + msg383959
resolution: fixed
stage: patch review -> resolved
2020-12-29 04:37:37miss-islingtonsetmessages: + msg383957
2020-12-29 04:21:51miss-islingtonsetmessages: + msg383956
2020-12-29 04:14:18miss-islingtonsetpull_requests: + pull_request22828
2020-12-29 04:14:11miss-islingtonsetpull_requests: + pull_request22827
2020-12-29 04:12:49miss-islingtonsetnosy: + miss-islington
messages: + msg383954
2020-12-28 23:56:01ZackerySpytzsetmessages: + msg383939
versions: + Python 3.8
2020-12-28 23:46:16ZackerySpytzsetkeywords: + patch
nosy: + ZackerySpytz

pull_requests: + pull_request22826
stage: patch review
2020-12-28 20:29:48ammar2setnosy: + ammar2
messages: + msg383926
2020-12-28 18:13:16bazwalcreate