diff --git a/Doc/library/http.rst b/Doc/library/http.rst index 6a0b7b268ca..0f16a2f6b6d 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -24,6 +24,8 @@ associated messages through the :class:`http.HTTPStatus` enum: .. class:: HTTPStatus + .. versionadded:: 3.5 + A subclass of :class:`enum.IntEnum` that defines a set of HTTP status codes, reason phrases and long descriptions written in English. @@ -43,9 +45,6 @@ associated messages through the :class:`http.HTTPStatus` enum: >>> list(HTTPStatus) [, , ...] - .. versionadded:: 3.5 - Added the *HTTPStatus* Enum - The supported HTTP status codes are: === ==============================