Skip to content

Commit fb781d9

Browse files
picnixzhugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent be50cfd commit fb781d9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Doc/deprecations/pending-removal-in-3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Pending removal in Python 3.15
2020

2121
* :mod:`http.server`:
2222

23-
* The obsolete and rarely used :class:`!http.server.CGIHTTPRequestHandler`
23+
* The obsolete and rarely used :class:`!CGIHTTPRequestHandler`
2424
has been deprecated since Python 3.13.
2525
No direct replacement exists.
2626
*Anything* is better than CGI to interface

Doc/whatsnew/3.13.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,7 @@ New Deprecations
18711871

18721872
* :mod:`http.server`:
18731873

1874-
* Deprecate :class:`!http.server.CGIHTTPRequestHandler`,
1874+
* Deprecate :class:`!CGIHTTPRequestHandler`,
18751875
to be removed in Python 3.15.
18761876
Process-based CGI HTTP servers have been out of favor for a very long time.
18771877
This code was outdated, unmaintained, and rarely used.

Doc/whatsnew/3.15.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ Removed
124124
http.server
125125
-----------
126126

127-
* Removed the :class:`!http.server.CGIHTTPRequestHandler` class
128-
and the ``--cgi`` flag to the :program:`python -m http.server`
129-
command-line interface. Those are deprecated since Python 3.13.
127+
* Removed the :class:`!CGIHTTPRequestHandler` class
128+
and the ``--cgi`` flag from the :program:`python -m http.server`
129+
command-line interface. They were deprecated in Python 3.13.
130130
(Contributed by Bénédikt Tran in :gh:`133810`.)
131131

132132

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Remove :class:`!http.server.CGIHTTPRequestHandler` and ``--cgi`` flag to the
1+
Remove :class:`!http.server.CGIHTTPRequestHandler` and ``--cgi`` flag from the
22
:program:`python -m http.server` command-line interface. Those are
33
deprecated since Python 3.13. Patch by Bénédikt Tran.

0 commit comments

Comments
 (0)