(original) (raw)

changeset: 94223:3a95a74aca4e parent: 94221:4709290253e3 user: Berker Peksag berker.peksag@gmail.com date: Tue Jan 20 08:02:28 2015 +0200 files: Doc/library/http.rst description: Issue #20898: Enum names are only available in the http.client module as constants. Noticed by Martin Panter. diff -r 4709290253e3 -r 3a95a74aca4e Doc/library/http.rst --- a/Doc/library/http.rst Tue Jan 20 06:46:49 2015 +0200 +++ b/Doc/library/http.rst Tue Jan 20 08:02:28 2015 +0200 @@ -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``). /berker.peksag@gmail.com