Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
gh-84232: Fix doc links in module help() output#29419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This PR is stale because it has been open for 30 days with no activity. |
An explicit mapping of module names to documentation names is added topydoc_data.topics and is used by pydoc's `getdocloc` function togenerate more-correct URLs in more cases without special-casingparticular modules. In some cases this corrects the displayed link togive a real page and in other cases removes what was previously anincorrect link entirely.
Uh oh!
There was an error while loading.Please reload this page.
StanFromIreland commentedOct 13, 2025
I missed this PR and opened#139995, which is a similar approach. What do you want to do Zachary? I can close mine. |
StanFromIreland commentedDec 23, 2025
Completed inf9704f1 |
Uh oh!
There was an error while loading.Please reload this page.
An explicit mapping of module names to documentation names is added to
pydoc_data.topics and is used by pydoc's
getdoclocfunction togenerate more-correct URLs in more cases without special-casing
particular modules. In some cases (tkinter.simpledialog, lib2to3, etc.)
this corrects the displayed link to give a real page and in other cases
(private or undocumented modules) removes what was previously an
incorrect link entirely.
https://bugs.python.org/issue40051