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 6b485629d2)

Co-authored-by: JasonYZ <yurenzhang2017@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-10-07 22:07:06 -07:00 committed by Pablo Galindo
parent 9b6afbee2e
commit dfae46c665
No known key found for this signature in database
GPG key ID: FFE87404168BD847

View file

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