]> granicus.if.org Git - python/commitdiff
Remove the redundant second argument of versionadded directive.
authorBerker Peksag <berker.peksag@gmail.com>
Thu, 25 Dec 2014 12:14:09 +0000 (14:14 +0200)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 25 Dec 2014 12:14:09 +0000 (14:14 +0200)
The versionadded directive is already placed in the scope of the
HTTPStatus documentation.

Doc/library/http.rst

index 6a0b7b268cac810cfda21b890d6ce61effff011d..0f16a2f6b6d904eb0ac401757ffcfacfa4bbd883 100644 (file)
@@ -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:
 
    === ==============================