[Python-checkins] bpo-38696: Fix usage example of HTTPStatus (GH-17066)

Zachary Ware webhook-mailer at python.org
Tue Nov 5 18:29:43 EST 2019


https://github.com/python/cpython/commit/56698d57691af2272f695f8c17c835ed99545cde
commit: 56698d57691af2272f695f8c17c835ed99545cde
branch: master
author: Ammar Askar <ammar at ammaraskar.com>
committer: Zachary Ware <zach at python.org>
date: 2019-11-05T17:29:33-06:00
summary:

bpo-38696: Fix usage example of HTTPStatus (GH-17066)

files:
M Doc/library/http.rst

diff --git a/Doc/library/http.rst b/Doc/library/http.rst
index 8df14578de1f1..0e3441cbcb718 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'



More information about the Python-checkins mailing list