]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Docs: for for/else clarify that return or raise also skip the else (GH-124591...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Sep 2024 21:17:16 +0000 (23:17 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2024 21:17:16 +0000 (14:17 -0700)
commit7c39f74251dea55ab5dc4bc2a1ac4f2db804808b
treee596ebe9a03230307211421fce0be98ed6df6660
parent660a7f2b523a9a9cc93ef2b2d73127c7cddb0bf6
[3.12] Docs: for for/else clarify that return or raise also skip the else (GH-124591) (#124660)

Docs: for for/else clarify that return or raise also skip the else (GH-124591)

(cherry picked from commit 5329d1b74a86b3a22ff36f7976bfe720ee06d10d)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/tutorial/controlflow.rst