diff options
author | JasonYZ <yurenzhang2017@gmail.com> | 2022-10-08 04:46:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 04:46:23 (GMT) |
commit | 6b485629d2e3e232460db7da3f8b18b67d4f4da8 (patch) | |
tree | 5899a89ee4451d269f6928635c1eb99944c9d534 /Doc | |
parent | e82d977eb0b53b0d69509b7080107108e5cfc6f9 (diff) | |
download | cpython-6b485629d2e3e232460db7da3f8b18b67d4f4da8.zip cpython-6b485629d2e3e232460db7da3f8b18b67d4f4da8.tar.gz cpython-6b485629d2e3e232460db7da3f8b18b67d4f4da8.tar.bz2 |
gh-97822: Fix http.server documentation reference to test() function (#98027)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/http.server.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 48f952d..81b6bf5 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -392,8 +392,8 @@ provides three different variants: contents of the file are output. If the file's MIME type starts with ``text/`` the file is opened in text mode; otherwise binary mode is used. - For example usage, see the implementation of the :func:`test` function - invocation in the :mod:`http.server` module. + For example usage, see the implementation of the ``test`` function + in :source:`Lib/http/server.py`. .. versionchanged:: 3.7 Support of the ``'If-Modified-Since'`` header. |