[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/91f4b9282fe7cdc51c6612002d033da654f422c1
commit: 91f4b9282fe7cdc51c6612002d033da654f422c1
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-11-06T06:27:17-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 88d62cca3f904..0deeaf6246486 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