summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-12-25 12:14:09 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-12-25 12:14:09 (GMT)
commitbe6a5da7553c7bfa96a1e25f1d2ab13baeea20d8 (patch)
tree2dc1cb2b9915b936125d8b2b0df327d2189af0da /Doc
parent3ab6ba474410b2f49d3a76766999effa59875024 (diff)
downloadcpython-be6a5da7553c7bfa96a1e25f1d2ab13baeea20d8.zip
cpython-be6a5da7553c7bfa96a1e25f1d2ab13baeea20d8.tar.gz
cpython-be6a5da7553c7bfa96a1e25f1d2ab13baeea20d8.tar.bz2
Remove the redundant second argument of versionadded directive.
The versionadded directive is already placed in the scope of the HTTPStatus documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/http.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/http.rst b/Doc/library/http.rst
index 6a0b7b2..0f16a2f 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)
[<HTTPStatus.CONTINUE: 100>, <HTTPStatus.SWITCHING_PROTOCOLS: 101>, ...]
- .. versionadded:: 3.5
- Added the *HTTPStatus* Enum
-
The supported HTTP status codes are:
=== ==============================