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 (pythonGH-98027)

Co-authored-by: Jelle Zijlstra <[email protected]>
(cherry picked from commit 6b48562)

Co-authored-by: JasonYZ <[email protected]>
  • Loading branch information
Jason-Y-Z authored and miss-islington committed Oct 8, 2022
1 parent 8d40fbe commit 5442004
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 @@ -388,8 +388,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 5442004

Please sign in to comment.