summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGéry Ogam <gery.ogam@gmail.com>2018-05-29 20:10:30 (GMT)
committerJulien Palard <julien@palard.fr>2018-05-29 20:10:30 (GMT)
commit1cee216cf383eade641aed22f4ec7d4cb565ecff (patch)
treec4b639b67e81692e14bb94e9529f8147d2e79fb8 /Doc
parent5d97b7bcc19496617bf8c448d2f149cc28c73bc7 (diff)
downloadcpython-1cee216cf383eade641aed22f4ec7d4cb565ecff.zip
cpython-1cee216cf383eade641aed22f4ec7d4cb565ecff.tar.gz
cpython-1cee216cf383eade641aed22f4ec7d4cb565ecff.tar.bz2
bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/http.server.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 16cfa17..0bd7f77 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -33,7 +33,7 @@ handler. Code to create and run the server looks like this::
:attr:`server_port`. The server is accessible by the handler, typically
through the handler's :attr:`server` instance variable.
-.. class:: ThreadedHTTPServer(server_address, RequestHandlerClass)
+.. class:: ThreadingHTTPServer(server_address, RequestHandlerClass)
This class is identical to HTTPServer but uses threads to handle
requests by using the :class:`~socketserver.ThreadingMixIn`. This
@@ -43,7 +43,7 @@ handler. Code to create and run the server looks like this::
.. versionadded:: 3.7
-The :class:`HTTPServer` and :class:`ThreadedHTTPServer` must be given
+The :class:`HTTPServer` and :class:`ThreadingHTTPServer` must be given
a *RequestHandlerClass* on instantiation, of which this module
provides three different variants: