This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author push-f
Recipients docs@python, push-f
Date 2022-02-28.12:47:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646052470.1.0.108518625091.issue46879@roundup.psfhosted.org>
In-reply-to
Content
API members documented in sphinx have an object name, which allow the
documentation to be linked from other projects. Sphinx calculates the
object name by prefixing the current module name to the directive
argument, e.g:

.. module:: foo
.. function:: bar.baz

becomes foo.bar.baz. Since these anchors aren't displayed in the
documentation, some mistakes have crept in, namely the Python stdlib
documentation currently contains the objects:

* asyncio.asyncio.subprocess.DEVNULL
* asyncio.asyncio.subprocess.PIPE
* asyncio.asyncio.subprocess.STDOUT
* asyncio.asyncio.subprocess.Process
* multiprocessing.sharedctypes.multiprocessing.Manager
* xml.etree.ElementTree.xml.etree.ElementInclude

As can be observed in the URL fragments:
https://docs.python.org/3/library/asyncio-subprocess.html#asyncio.asyncio.subprocess.Process
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.sharedctypes.multiprocessing.Manager
https://docs.python.org/3/library/xml.etree.elementtree.html#xml.etree.ElementTree.xml.etree.ElementInclude.default_loader

I have a patch, prepared, I'll send a PR straight away.
History
Date User Action Args
2022-02-28 12:47:50push-fsetrecipients: + push-f, docs@python
2022-02-28 12:47:50push-fsetmessageid: <1646052470.1.0.108518625091.issue46879@roundup.psfhosted.org>
2022-02-28 12:47:50push-flinkissue46879 messages
2022-02-28 12:47:49push-fcreate