Skip to content

Commit

Permalink
pythongh-97822: Fix http.server documentation reference to test() fun…
Browse files Browse the repository at this point in the history
…ction (python#98027)

Co-authored-by: Jelle Zijlstra <[email protected]>
  • Loading branch information
2 people authored and mpage committed Oct 11, 2022
1 parent 7bba92f commit e20a190
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
in :source:`Lib/http/server.py`.

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

0 comments on commit e20a190

Please sign in to comment.