bpo-38696: Fix usage example of HTTPStatus (GH-17066)
This commit is contained in:
parent
bf17d41826
commit
56698d5769
|
@ -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