Skip to content

Commit e20a190

Browse files
Jason-Y-ZJelleZijlstra
authored andcommitted
pythongh-97822: Fix http.server documentation reference to test() function (python#98027)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent 7bba92f commit e20a190

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
@@ -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)