Skip to content

Commit

Permalink
gh-97822: Fix http.server documentation reference to test() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason-Y-Z committed Oct 7, 2022
1 parent 2a16835 commit 0682fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/http.server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
invocation in :source:`Lib/http/server.py`.

.. versionchanged:: 3.7
Support of the ``'If-Modified-Since'`` header.
Expand Down

0 comments on commit 0682fbd

Please sign in to comment.