Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] gh-95975: Move except/*/finally ref labels to more precise locations (GH-95976) #97722

Merged
merged 1 commit into from
Oct 2, 2022

Conversation

miss-islington
Copy link
Contributor

Co-authored-by: Ezio Melotti ezio.melotti@gmail.com

  • 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 ezio.melotti@gmail.com
(cherry picked from commit dcc8233)

Co-authored-by: C.A.M. Gerlach CAM.Gerlach@Gerlach.CAM

…tions (pythonGH-95976)

* pythongh-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 <ezio.melotti@gmail.com>

* 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 <ezio.melotti@gmail.com>
(cherry picked from commit dcc8233)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅.

@miss-islington miss-islington merged commit 1fa848a into python:3.11 Oct 2, 2022
@miss-islington miss-islington deleted the backport-dcc8233-3.11 branch October 2, 2022 05:20
@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants