gh-97822: Fix http.server documentation reference to test() function (#98027)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
JasonYZ 2022-10-08 05:46:23 +01:00 committed by GitHub
parent e82d977eb0
commit 6b485629d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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.