diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-10-08 06:57:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 06:57:31 (GMT) |
commit | 786fde5d70ca18cc93fe2b4197f05bcae2bdc908 (patch) | |
tree | 80d96420d49e28177d78e39383e254e14ffee890 /Doc/library | |
parent | 225bee75e3be92fa7b07ed66fde263f87bd81ac7 (diff) | |
download | cpython-786fde5d70ca18cc93fe2b4197f05bcae2bdc908.zip cpython-786fde5d70ca18cc93fe2b4197f05bcae2bdc908.tar.gz cpython-786fde5d70ca18cc93fe2b4197f05bcae2bdc908.tar.bz2 |
gh-97822: Fix http.server documentation reference to test() function (GH-98027)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 6b485629d2e3e232460db7da3f8b18b67d4f4da8)
Co-authored-by: JasonYZ <yurenzhang2017@gmail.com>
Diffstat (limited to 'Doc/library')
-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 8584f99..89a25b8 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -388,8 +388,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. |