summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.server.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-12-13 07:24:55 (GMT)
committerGitHub <noreply@github.com>2023-12-13 07:24:55 (GMT)
commit3531ea441b8b76bff90d2ecc062335da65fd3341 (patch)
treea835b5817b4093b17afd210d34e7fdf499a70f69 /Doc/library/http.server.rst
parent3aea6c4823e90172c9bc36cd20dc51b295d8a3c4 (diff)
downloadcpython-3531ea441b8b76bff90d2ecc062335da65fd3341.zip
cpython-3531ea441b8b76bff90d2ecc062335da65fd3341.tar.gz
cpython-3531ea441b8b76bff90d2ecc062335da65fd3341.tar.bz2
gh-101100: Fix Sphinx warning in references with asterisks (#113029)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc/library/http.server.rst')
-rw-r--r--Doc/library/http.server.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 6f79b22..64bddd2 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -65,10 +65,10 @@ provides three different variants:
The handler will parse the request and the headers, then call a method
specific to the request type. The method name is constructed from the
- request. For example, for the request method ``SPAM``, the :meth:`do_SPAM`
+ request. For example, for the request method ``SPAM``, the :meth:`!do_SPAM`
method will be called with no arguments. All of the relevant information is
stored in instance variables of the handler. Subclasses should not need to
- override or extend the :meth:`__init__` method.
+ override or extend the :meth:`!__init__` method.
:class:`BaseHTTPRequestHandler` has the following instance variables:
@@ -187,13 +187,13 @@ provides three different variants:
Calls :meth:`handle_one_request` once (or, if persistent connections are
enabled, multiple times) to handle incoming HTTP requests. You should
- never need to override it; instead, implement appropriate :meth:`do_\*`
+ never need to override it; instead, implement appropriate :meth:`!do_\*`
methods.
.. method:: handle_one_request()
This method will parse and dispatch the request to the appropriate
- :meth:`do_\*` method. You should never need to override it.
+ :meth:`!do_\*` method. You should never need to override it.
.. method:: handle_expect_100()