]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] docs: restore an anchor to for/else (GH-126154) (#126158)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 30 Oct 2024 08:17:16 +0000 (09:17 +0100)
committerGitHub <noreply@github.com>
Wed, 30 Oct 2024 08:17:16 +0000 (08:17 +0000)
docs: restore an anchor to for/else (GH-126154)
(cherry picked from commit 2d9d10179ff3f13029bf4430e62c455a839987ca)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Doc/tutorial/controlflow.rst

index b830ce94ba4f47551d5353bdaebcca1f5fd2d94a..8261bbdbfb7a018dfbf08462aacc3bd709603313 100644 (file)
@@ -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
 =================================