Skip to content

Commit be6a5da

Browse files
committed
Remove the redundant second argument of versionadded directive.
The versionadded directive is already placed in the scope of the HTTPStatus documentation.
1 parent 3ab6ba4 commit be6a5da

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Doc/library/http.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ associated messages through the :class:`http.HTTPStatus` enum:
2424

2525
.. class:: HTTPStatus
2626

27+
.. versionadded:: 3.5
28+
2729
A subclass of :class:`enum.IntEnum` that defines a set of HTTP status codes,
2830
reason phrases and long descriptions written in English.
2931

@@ -43,9 +45,6 @@ associated messages through the :class:`http.HTTPStatus` enum:
4345
>>> list(HTTPStatus)
4446
[<HTTPStatus.CONTINUE: 100>, <HTTPStatus.SWITCHING_PROTOCOLS: 101>, ...]
4547

46-
.. versionadded:: 3.5
47-
Added the *HTTPStatus* Enum
48-
4948
The supported HTTP status codes are:
5049

5150
=== ==============================

0 commit comments

Comments
 (0)