gh-84232: Fix doc links in module help() output by zware · Pull Request #29419 · python/cpython
zware
mentioned this pull request
zware
changed the title
bpo-40051: Fix doc links in module help() output
gh-84232: Fix doc links in module help() output
An explicit mapping of module names to documentation names is added to pydoc_data.topics and is used by pydoc's `getdocloc` function to generate more-correct URLs in more cases without special-casing particular modules. In some cases this corrects the displayed link to give a real page and in other cases removes what was previously an incorrect link entirely.
zware
mentioned this pull request
zware
deleted the
pydoc_link_fix
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters