Skip to content

Commit 786fde5

Browse files
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 225bee7 commit 786fde5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/http.server.rst

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

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

394394
.. versionchanged:: 3.7
395395
Support of the ``'If-Modified-Since'`` header.

0 commit comments

Comments
 (0)