Repository navigation
documentation for http.server refers to wrong test() function #97822
Copy link
Copy link
Closed
Labels
Description
Activity
Could open a pull request to fix this?
sure, I just dont know what's the recommended way how to refer to a specific function in the code - do I use link with the latest commit or is it preferred some other way?
List the full path to the name, it will be a link with the text
http.server.test:For example, see the implementation of the :func:`http.server.test` function.
Alternatively, add a
~at the front, and it will remain in the current format, showing only thetestname.For example, see the implementation of the :func:`~http.server.test` function in the :mod:`http.server` module.
Reacted by yed- added 4 commits that reference this issue
on Oct 7, 2022 - added 4 commits that reference this issue
on Oct 8, 2022 - added a commit that references this issue
on Oct 8, 2022 Looks like this is fixed and all backports are merged. Thank you!
- added a commit that references this issue
on Oct 9, 2022 - added a commit that references this issue
on Oct 11, 2022 - added a commit that references this issue
on Oct 22, 2022
Documentation
the following paragraph in docs for
http.servermentions functiontest:cpython/Doc/library/http.server.rst
Lines 395 to 396 in e3b6ff1
which is a reference to function
testin the same file:cpython/Lib/http/server.py
Line 1239 in 9a95fa9
but in the rendered docs
:func:`test`is resolved as a link to https://docs.python.org/3/library/test.html#module-test instead of the aforementioned function in the same file.