[issue42770] Typo in email.headerregistry docs
New submission from bazwal <bazwal@gmail.com>: The section for class email.headerregistry.ContentDispositionHeader has a typo in an attribute name: "content-disposition" should be corrected to "content_disposition". ---------- assignee: docs@python components: Documentation messages: 383910 nosy: bazwal, docs@python priority: normal severity: normal status: open title: Typo in email.headerregistry docs type: enhancement versions: Python 3.10, Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
Ammar Askar <ammar@ammaraskar.com> added the comment: Confirmed, the attribute under https://docs.python.org/3.10/library/email.headerregistry.html#email.headerr... 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.headerregist... ---------- nosy: +ammar2 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
Change by Zackery Spytz <zspytz@gmail.com>: ---------- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +22826 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23982 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
Zackery Spytz <zspytz@gmail.com> added the comment: I've created a fix for this error. ---------- versions: +Python 3.8 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: 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/c56988b88fecf6dc70f039704fda6051a07... ---------- nosy: +miss-islington _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +22827 pull_request: https://github.com/python/cpython/pull/23984 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +22828 pull_request: https://github.com/python/cpython/pull/23985 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: 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/e11639880a73f30b4009efa8d14c350932e... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: 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/0b43778b3cd222761beb850178492b6bd0e... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
Zachary Ware <zachary.ware@gmail.com> added the comment: Thanks for the report, bazwal; for the patch, Zackery; and for the ping Ammar :) ---------- nosy: +zach.ware resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42770> _______________________________________
participants (5)
-
Ammar Askar
-
bazwal
-
miss-islington
-
Zachary Ware
-
Zackery Spytz