[Python-checkins] cpython: Issue #20898: Enum names are only available in the http.client module as
berker.peksag
python-checkins at python.org
Tue Jan 20 07:02:29 CET 2015
https://hg.python.org/cpython/rev/3a95a74aca4e
changeset: 94223:3a95a74aca4e
parent: 94221:4709290253e3
user: Berker Peksag <berker.peksag at gmail.com>
date: Tue Jan 20 08:02:28 2015 +0200
summary:
Issue #20898: Enum names are only available in the http.client module as constants.
Noticed by Martin Panter.
files:
Doc/library/http.rst | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Doc/library/http.rst b/Doc/library/http.rst
--- a/Doc/library/http.rst
+++ b/Doc/library/http.rst
@@ -117,7 +117,6 @@
======= =================================== ==================================================================
In order to preserve backwards compatibility, enum values are also present
-in the :mod:`http.client` and :mod:`http.server` modules in the form of
-constants. The enum name is equal to the constant name (i.e.
-``http.HTTPStatus.OK`` is also available as ``http.client.OK`` and
-``http.server.OK``).
+in the :mod:`http.client` module in the form of constants. The enum name is
+equal to the constant name (i.e. ``http.HTTPStatus.OK`` is also available as
+``http.client.OK``).
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list