]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
docs: restore an anchor to for/else (#126154)
authorNed Batchelder <ned@nedbatchelder.com>
Wed, 30 Oct 2024 00:11:50 +0000 (20:11 -0400)
committerGitHub <noreply@github.com>
Wed, 30 Oct 2024 00:11:50 +0000 (20:11 -0400)
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
 =================================