From 9a3560f47ef57c11becfeaf8b0d88a8ed1373949 Mon Sep 17 00:00:00 2001 From: Alexander R Date: Wed, 25 Nov 2026 18:42:36 +0200 Subject: [PATCH] Fix the `HTTPStatus` reprs in the `http` docs example (GH-162578) (cherry picked from commit 7824032b176d92367f6ffad8eb7aa2a20cf337b4) Co-authored-by: Alexander R --- Doc/library/http.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/http.rst b/Doc/library/http.rst index 43a801416e24f9..23ff0e94f129c6 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -35,7 +35,7 @@ The :mod:`!http` module also defines the following enums that help you work with >>> from http import HTTPStatus >>> HTTPStatus.OK - HTTPStatus.OK + >>> HTTPStatus.OK == 200 True >>> HTTPStatus.OK.value @@ -45,7 +45,7 @@ The :mod:`!http` module also defines the following enums that help you work with >>> HTTPStatus.OK.description 'Request fulfilled, document follows' >>> list(HTTPStatus) - [HTTPStatus.CONTINUE, HTTPStatus.SWITCHING_PROTOCOLS, ...] + [, , ...] .. _http-status-codes: