[3.11] gh-95975: Move except/*/finally ref labels to more precise locations (GH-95976) #97722
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.
Ref target labels for except/except*/finally not located precisely #95975: Move except/*/finally ref labels to more precise locations
Add section headers to fix :keyword: role and aid navigation
Move see also to the introduction rather than a particular subsection
Fix other minor Sphinx syntax issues with except
Co-authored-by: Ezio Melotti [email protected]
Suppress redundant link to same section for except too
Don't link try/except/else/finally keywords if in the same section
Format try/except/finally as keywords in modified sections
Co-authored-by: Ezio Melotti [email protected]
(cherry picked from commit dcc8233)
Co-authored-by: C.A.M. Gerlach [email protected]