[Python-checkins] cpython: Remove the redundant second argument of versionadded directive.

berker.peksag python-checkins at python.org
Thu Dec 25 13:12:57 CET 2014


https://hg.python.org/cpython/rev/715580b5b931
changeset:   93964:715580b5b931
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Thu Dec 25 14:14:09 2014 +0200
summary:
  Remove the redundant second argument of versionadded directive.

The versionadded directive is already placed in the scope of the
HTTPStatus documentation.

files:
  Doc/library/http.rst |  5 ++---
  1 files changed, 2 insertions(+), 3 deletions(-)


diff --git a/Doc/library/http.rst b/Doc/library/http.rst
--- a/Doc/library/http.rst
+++ b/Doc/library/http.rst
@@ -24,6 +24,8 @@
 
 .. 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 @@
       >>> list(HTTPStatus)
       [<HTTPStatus.CONTINUE: 100>, <HTTPStatus.SWITCHING_PROTOCOLS: 101>, ...]
 
-   .. versionadded:: 3.5
-      Added the *HTTPStatus* Enum
-
    The supported HTTP status codes are:
 
    === ==============================

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list