diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-01-20 06:02:28 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-01-20 06:02:28 (GMT) |
commit | 08f3143aea534efb25b176ede8499a4bb23472f7 (patch) | |
tree | 2df56470f7a398397c8b14b4b0e5b1a79224d968 /Doc/library/http.rst | |
parent | 7b6b3d771ac81cc8a1897785e275b38002cce7e8 (diff) | |
download | cpython-08f3143aea534efb25b176ede8499a4bb23472f7.zip cpython-08f3143aea534efb25b176ede8499a4bb23472f7.tar.gz cpython-08f3143aea534efb25b176ede8499a4bb23472f7.tar.bz2 |
Issue #20898: Enum names are only available in the http.client module as constants.
Noticed by Martin Panter.
Diffstat (limited to 'Doc/library/http.rst')
-rw-r--r-- | Doc/library/http.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/http.rst b/Doc/library/http.rst index d4247c3..b6f2c58 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -117,7 +117,6 @@ Code Enum Name Details ======= =================================== ================================================================== 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``). |