Skip to content

Commit dfae46c

Browse files
miss-islingtonJason-Y-Z
authored andcommitted
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 6b48562) Co-authored-by: JasonYZ <yurenzhang2017@gmail.com>
1 parent 9b6afbe commit dfae46c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Doc/library/http.server.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ provides three different variants:
392392
contents of the file are output. If the file's MIME type starts with
393393
``text/`` the file is opened in text mode; otherwise binary mode is used.
394394

395-
For example usage, see the implementation of the :func:`test` function
396-
invocation in the :mod:`http.server` module.
395+
For example usage, see the implementation of the ``test`` function
396+
in :source:`Lib/http/server.py`.
397397

398398
.. versionchanged:: 3.7
399399
Support of the ``'If-Modified-Since'`` header.

0 commit comments

Comments
 (0)