Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Closed
zware wants to merge2 commits intopython:mainfromzware:pydoc_link_fix

Conversation

@zware
Copy link
Member

@zwarezware commentedNov 5, 2021
edited by bedevere-appbot
Loading

An explicit mapping of module names to documentation names is added to
pydoc_data.topics and is used by pydoc'sgetdocloc 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

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

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelDec 9, 2021
@zwarezware changed the titlebpo-40051: Fix doc links in module help() outputgh-84232: Fix doc links in module help() outputSep 27, 2024
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.
@zwarezware removed the staleStale PR or inactive for long period of time. labelSep 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.

@StanFromIreland
Copy link
Member

Completed inf9704f1

@zwarezware deleted the pydoc_link_fix branchDecember 23, 2025 15:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@merwokmerwokmerwok left review comments

@terryjreedyterryjreedyAwaiting requested review from terryjreedy

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@zware@StanFromIreland@merwok@the-knights-who-say-ni@ezio-melotti@bedevere-bot

[8]ページ先頭

©2009-2026 Movatter.jp