Kaydet (Commit) 5b5002c4 authored tarafından regexaurus's avatar regexaurus Kaydeden (comit) Mariatta

Clarification to the `break` statement (GH-2453) (GH-2459)

Clarify that the break statement breaks out of the innermost enclosing for or while loop.
(cherry picked from commit 36fc8967)
üst fea98bfc
......@@ -126,7 +126,7 @@ function, see :ref:`tut-loopidioms`.
:keyword:`break` and :keyword:`continue` Statements, and :keyword:`else` Clauses on Loops
=========================================================================================
The :keyword:`break` statement, like in C, breaks out of the smallest enclosing
The :keyword:`break` statement, like in C, breaks out of the innermost enclosing
:keyword:`for` or :keyword:`while` loop.
Loop statements may have an ``else`` clause; it is executed when the loop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment