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: HTTP modules documentation error
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: ammar2, docs@python, miss-islington, stojan.jovic, zach.ware
Priority: normal Keywords: patch

Created on 2019-11-05 09:51 by stojan.jovic, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 17066 merged ammar2, 2019-11-05 23:17
PR 17067 merged miss-islington, 2019-11-05 23:30
PR 17068 merged miss-islington, 2019-11-05 23:30
Messages (7)
msg356013 - (view) Author: Stojan Jovic (stojan.jovic) Date: 2019-11-05 09:51
I have found error in "Usage" section of HTTP modules documentation page, specifically line:
http.HTTPStatus.OK.value
should be fixed to:
HTTPStatus.OK.value
according to the import and other usage examples.
msg356014 - (view) Author: Stojan Jovic (stojan.jovic) Date: 2019-11-05 09:56
Page link:
https://docs.python.org/3/library/http.html
msg356078 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2019-11-05 23:29
New changeset 56698d57691af2272f695f8c17c835ed99545cde by Zachary Ware (Ammar Askar) in branch 'master':
bpo-38696: Fix usage example of HTTPStatus (GH-17066)
https://github.com/python/cpython/commit/56698d57691af2272f695f8c17c835ed99545cde
msg356135 - (view) Author: miss-islington (miss-islington) Date: 2019-11-06 14:27
New changeset 30da387df193b9f05c2891ae601ae5a1d669a5c1 by Miss Islington (bot) in branch '3.8':
bpo-38696: Fix usage example of HTTPStatus (GH-17066)
https://github.com/python/cpython/commit/30da387df193b9f05c2891ae601ae5a1d669a5c1
msg356136 - (view) Author: miss-islington (miss-islington) Date: 2019-11-06 14:27
New changeset 91f4b9282fe7cdc51c6612002d033da654f422c1 by Miss Islington (bot) in branch '3.7':
bpo-38696: Fix usage example of HTTPStatus (GH-17066)
https://github.com/python/cpython/commit/91f4b9282fe7cdc51c6612002d033da654f422c1
msg356137 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2019-11-06 14:29
Thanks for the report, Stojan, and for the patch, Ammar!
msg356139 - (view) Author: Stojan Jovic (stojan.jovic) Date: 2019-11-06 15:11
Thank you, guys, for really quick fix!
History
Date User Action Args
2022-04-11 14:59:22adminsetgithub: 82877
2019-11-06 15:11:54stojan.jovicsetmessages: + msg356139
2019-11-06 14:29:01zach.waresetstatus: open -> closed

type: resource usage -> behavior
versions: + Python 3.7, Python 3.9
nosy: + ammar2

messages: + msg356137
resolution: fixed
stage: patch review -> resolved
2019-11-06 14:27:28miss-islingtonsetmessages: + msg356136
2019-11-06 14:27:28miss-islingtonsetnosy: + miss-islington
messages: + msg356135
2019-11-05 23:30:13miss-islingtonsetpull_requests: + pull_request16577
2019-11-05 23:30:05miss-islingtonsetpull_requests: + pull_request16576
2019-11-05 23:29:43zach.waresetnosy: + zach.ware
messages: + msg356078
2019-11-05 23:17:22ammar2setkeywords: + patch
stage: patch review
pull_requests: + pull_request16575
2019-11-05 09:56:02stojan.jovicsetmessages: + msg356014
2019-11-05 09:51:07stojan.joviccreate