From 62383ff740729977abf468e331d8dbdfcee62311 Mon Sep 17 00:00:00 2001 From: Rihaan Meher Date: Tue, 17 Jun 2025 22:26:27 +0530 Subject: [PATCH 1/3] gh-135615 Fix incorrect caption outlining http status codes --- Doc/library/http.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/library/http.rst b/Doc/library/http.rst index ce3fb9f8120502..866be5a7245395 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -52,8 +52,7 @@ The :mod:`http` module also defines the following enums that help you work with HTTP status codes ----------------- -Supported, -`IANA-registered status codes `_ +Supported HTTP status codes available in :class:`http.HTTPStatus` are: ======= =================================== ================================================================== From a04d06d2812f8391675d289a917be51621b135b6 Mon Sep 17 00:00:00 2001 From: Rihaan Meher Date: Wed, 18 Jun 2025 09:19:28 +0530 Subject: [PATCH 2/3] gh-135615 List 418 as an exception --- Doc/library/http.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/library/http.rst b/Doc/library/http.rst index 866be5a7245395..121a130a159f0a 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -52,8 +52,7 @@ The :mod:`http` module also defines the following enums that help you work with HTTP status codes ----------------- -Supported HTTP status codes -available in :class:`http.HTTPStatus` are: +:class:`http.HTTPStatus supports some `IANA-registered status codes `_, as well as 418 (the requested entity is a teapot incapable of brewing coffee) ======= =================================== ================================================================== Code Enum Name Details From e783c206ed01e1d8adda12bdfcb333ccdb4934af Mon Sep 17 00:00:00 2001 From: Rihaan Meher Date: Wed, 18 Jun 2025 09:27:10 +0530 Subject: [PATCH 3/3] Forgot a backtick :) --- Doc/library/http.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/http.rst b/Doc/library/http.rst index 121a130a159f0a..472bfc190e4dbc 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -52,7 +52,7 @@ The :mod:`http` module also defines the following enums that help you work with HTTP status codes ----------------- -:class:`http.HTTPStatus supports some `IANA-registered status codes `_, as well as 418 (the requested entity is a teapot incapable of brewing coffee) +:class:`http.HTTPStatus` supports some `IANA-registered status codes `_, as well as 418 (the requested entity is a teapot incapable of brewing coffee) ======= =================================== ================================================================== Code Enum Name Details