]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95975: Move except/*/finally ref labels to more precise locations (#95976)
authorC.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Sun, 2 Oct 2022 05:12:56 +0000 (00:12 -0500)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2022 05:12:56 +0000 (07:12 +0200)
commitdcc82331c8f05a6a149ac15c519d4fbae72692b2
treebf8ba8393d90b9fa3c602c2cecb7b797ab4d4afa
parentd63943860974f232b5f027dc6535d25d1b4d8fc0
gh-95975: Move except/*/finally ref labels to more precise locations (#95976)

* gh-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>
Doc/reference/compound_stmts.rst