Skip to content

Commit 08f3143

Browse files
committed
Issue #20898: Enum names are only available in the http.client module as constants.
Noticed by Martin Panter.
1 parent 7b6b3d7 commit 08f3143

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Doc/library/http.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ Code Enum Name Details
117117
======= =================================== ==================================================================
118118

119119
In order to preserve backwards compatibility, enum values are also present
120-
in the :mod:`http.client` and :mod:`http.server` modules in the form of
121-
constants. The enum name is equal to the constant name (i.e.
122-
``http.HTTPStatus.OK`` is also available as ``http.client.OK`` and
123-
``http.server.OK``).
120+
in the :mod:`http.client` module in the form of constants. The enum name is
121+
equal to the constant name (i.e. ``http.HTTPStatus.OK`` is also available as
122+
``http.client.OK``).

0 commit comments

Comments
 (0)