mirror of https://github.com/python/cpython
Remove the redundant second argument of versionadded directive.
The versionadded directive is already placed in the scope of the HTTPStatus documentation.
This commit is contained in:
parent
3ab6ba4744
commit
be6a5da755
|
@ -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)
|
||||
[<HTTPStatus.CONTINUE: 100>, <HTTPStatus.SWITCHING_PROTOCOLS: 101>, ...]
|
||||
|
||||
.. versionadded:: 3.5
|
||||
Added the *HTTPStatus* Enum
|
||||
|
||||
The supported HTTP status codes are:
|
||||
|
||||
=== ==============================
|
||||
|
|
Loading…
Reference in New Issue