summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2018-03-28 21:24:58 (GMT)
committerGitHub <noreply@github.com>2018-03-28 21:24:58 (GMT)
commit79c3bab35cce55e6d175aff96a845bc6d932b203 (patch)
treef0cf3b738042966f98c35f5a3d09e55bccef58db /Doc
parent78553138be3b38d361bded8e641a2a4fd65a9d16 (diff)
downloadcpython-79c3bab35cce55e6d175aff96a845bc6d932b203.zip
cpython-79c3bab35cce55e6d175aff96a845bc6d932b203.tar.gz
cpython-79c3bab35cce55e6d175aff96a845bc6d932b203.tar.bz2
FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/http.server.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 4fe46cb..278ae55 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -37,8 +37,11 @@ handler. Code to create and run the server looks like this::
This class is identical to HTTPServer but uses threads to handle
requests by using the :class:`~socketserver.ThreadingMixin`. This
- is usefull to handle web browsers pre-opening sockets, on which
- :class:`HTTPServer` would wait indefinitly.
+ is useful to handle web browsers pre-opening sockets, on which
+ :class:`HTTPServer` would wait indefinitely.
+
+ .. versionadded:: 3.7
+
The :class:`HTTPServer` and :class:`ThreadedHTTPServer` must be given
a *RequestHandlerClass* on instantiation, of which this module