gh-62172: Document classify_class_attrs(), getabsfile(), and indentsize() in inspect#153624
Open
sreehariannam wants to merge 3 commits into
Open
gh-62172: Document classify_class_attrs(), getabsfile(), and indentsize() in inspect#153624sreehariannam wants to merge 3 commits into
sreehariannam wants to merge 3 commits into
Conversation
…dentsize() in inspect
Documentation build overview
|
aisk
reviewed
Jul 12, 2026
Author
|
Thanks for the review! Addressed both points in the latest commit: dropped the |
aisk
approved these changes
Jul 12, 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.
Adds documentation for three public,
__all__-exported functions in theinspectmodule that were missing fromDoc/library/inspect.rst:inspect.getabsfile()inspect.indentsize()inspect.classify_class_attrs()Towards gh-62172. That issue lists several other undocumented functions (
findsource,getblock,walktree,getargs,formatannotation,formatannotationrelativeto,getlineno) which are left for a follow-up PR to keep this change small and reviewable.Verified with
sphinx-lint(no issues) against the currentDoc/library/inspect.rst.