Skip to content

Conversation

@zware
Copy link
Member

@zware zware commented Nov 5, 2021

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 (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

@github-actions
Copy link

github-actions bot commented Dec 9, 2021

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Dec 9, 2021
@zware zware changed the title bpo-40051: Fix doc links in module help() output gh-84232: Fix doc links in module help() output Sep 27, 2024
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 zware removed the stale Stale PR or inactive for long period of time. label Sep 27, 2024
@StanFromIreland
Copy link
Member

I missed this PR and opened #139995, which is a similar approach. What do you want to do Zachary? I can close mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants