summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAmmar Askar <ammar@ammaraskar.com>2019-11-05 23:29:33 (GMT)
committerZachary Ware <zach@python.org>2019-11-05 23:29:33 (GMT)
commit56698d57691af2272f695f8c17c835ed99545cde (patch)
tree3091f2f74c4b895aa2af1e8abb6261895b38557d /Doc
parentbf17d41826a8bb4bc1e34ba6345da98aac779e41 (diff)
downloadcpython-56698d57691af2272f695f8c17c835ed99545cde.zip
cpython-56698d57691af2272f695f8c17c835ed99545cde.tar.gz
cpython-56698d57691af2272f695f8c17c835ed99545cde.tar.bz2
bpo-38696: Fix usage example of HTTPStatus (GH-17066)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/http.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/http.rst b/Doc/library/http.rst
index 8df1457..0e3441c 100644
--- a/Doc/library/http.rst
+++ b/Doc/library/http.rst
@@ -38,7 +38,7 @@ associated messages through the :class:`http.HTTPStatus` enum:
<HTTPStatus.OK: 200>
>>> HTTPStatus.OK == 200
True
- >>> http.HTTPStatus.OK.value
+ >>> HTTPStatus.OK.value
200
>>> HTTPStatus.OK.phrase
'OK'