bpo-38696: Fix usage example of HTTPStatus (GH-17066)
(cherry picked from commit 56698d5769
)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
This commit is contained in:
parent
7c20888e71
commit
30da387df1
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue