Skip to content

Commit 79c3bab

Browse files
authored
FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207)
1 parent 7855313 commit 79c3bab

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Doc/library/http.server.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ handler. Code to create and run the server looks like this::
3737

3838
This class is identical to HTTPServer but uses threads to handle
3939
requests by using the :class:`~socketserver.ThreadingMixin`. This
40-
is usefull to handle web browsers pre-opening sockets, on which
41-
:class:`HTTPServer` would wait indefinitly.
40+
is useful to handle web browsers pre-opening sockets, on which
41+
:class:`HTTPServer` would wait indefinitely.
42+
43+
.. versionadded:: 3.7
44+
4245

4346
The :class:`HTTPServer` and :class:`ThreadedHTTPServer` must be given
4447
a *RequestHandlerClass* on instantiation, of which this module
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
http.server now exposes a ThreadedHTTPServer class and uses it when the
2-
module is invoked to cope with web browsers pre-opening sockets.
2+
module is run with ``-m`` to cope with web browsers pre-opening sockets.

0 commit comments

Comments
 (0)