mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
Issue #20898: Enum names are only available in the http.client module as constants.
Noticed by Martin Panter.
This commit is contained in:
parent
7b6b3d771a
commit
08f3143aea
@ -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``).
|
||||
|
Loading…
Reference in New Issue
Block a user