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

Miss Islington (bot) webhook-mailer at python.org
Wed Nov 6 09:27:29 EST 2019


https://github.com/python/cpython/commit/30da387df193b9f05c2891ae601ae5a1d669a5c1
commit: 30da387df193b9f05c2891ae601ae5a1d669a5c1
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-11-06T06:27:09-08:00
summary:

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

(cherry picked from commit 56698d57691af2272f695f8c17c835ed99545cde)

Co-authored-by: Ammar Askar <ammar at ammaraskar.com>

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