From be6a5da7553c7bfa96a1e25f1d2ab13baeea20d8 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Thu, 25 Dec 2014 14:14:09 +0200 Subject: [PATCH] Remove the redundant second argument of versionadded directive. The versionadded directive is already placed in the scope of the HTTPStatus documentation. --- Doc/library/http.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/library/http.rst b/Doc/library/http.rst index 6a0b7b268c..0f16a2f6b6 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: === ============================== -- 2.50.1