From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:17:16 +0000 (+0100) Subject: [3.12] docs: restore an anchor to for/else (GH-126154) (#126158) X-Git-Tag: v3.12.8~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5df3c88432f9179850948ed2ca9c0fbf4a2176d6;p=thirdparty%2FPython%2Fcpython.git [3.12] docs: restore an anchor to for/else (GH-126154) (#126158) docs: restore an anchor to for/else (GH-126154) (cherry picked from commit 2d9d10179ff3f13029bf4430e62c455a839987ca) Co-authored-by: Ned Batchelder --- diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index b830ce94ba4f..8261bbdbfb7a 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -196,6 +196,7 @@ iteration of the loop:: Found an odd number 9 .. _tut-for-else: +.. _break-and-continue-statements-and-else-clauses-on-loops: :keyword:`!else` Clauses on Loops =================================