Repository navigation
gh-161414: Remove the backquote from the pydoc symbols - #161416
Merged
StanFromIreland merged 3 commits intoNov 5, 2026
Merged
Conversation
Helper.symbols mapped the backquote to the BACKQUOTES topic, which was
removed along with Python 2's backquote syntax, so help('`') reported
"no documentation found for 'BACKQUOTES'".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sobolevn
approved these changes
Nov 5, 2026
sobolevn
left a comment
Member
There was a problem hiding this comment.
Great find! One small nitpick.
I think that this can be safely backported, because previously it did not show anything useful as well.
Co-authored-by: sobolevn <mail@sobolevn.me>
StanFromIreland
approved these changes
Nov 5, 2026
StanFromIreland
enabled auto-merge (squash)
November 5, 2026 17:03
|
Thanks @andresdelfino for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
|
GH-161438 is a backport of this pull request to the 3.15 branch. |
|
GH-161439 is a backport of this pull request to the 3.14 branch. |
Contributor
Author
|
Thank you both! |
StanFromIreland
added a commit
that referenced
this pull request
Nov 5, 2026
StanFromIreland
added a commit
that referenced
this pull request
Nov 5, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pydoc.Helper.symbolsmapped the backquote to theBACKQUOTEStopic, which no longer exists, sohelp('`')printed "no documentation found for 'BACKQUOTES'". The backquote is not valid syntax in Python 3, so this removes the entry. It was the only symbol that did not lead to documentation.The new test calls
Helper.showsymbol()for every symbol and checks that each one leads to documentation; it fails without the fix.🤖 Generated with Claude Code
help()has no documentation for it #161414