<div dir="ltr"><div class="gmail_quote">On Fri, Jun 8, 2012 at 12:04 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(context for python-ideas: my recently checked in changes to the<br>
tutorial, that added the final paragraph to<br>
<a href="http://docs.python.org/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops" target="_blank">http://docs.python.org/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops</a>)<br>

<br></blockquote><div><br></div><div>If we're on that subject then I think this</div><div><br></div><div>> Loop statements may have an else clause; it is executed when the loop terminates through exhaustion of the list (with for) or when the condition becomes false (with while), but not when the loop is terminated by a break statement.</div>
<div><br></div><div>Doesn't hit the "break" nail on the head fast and hard enough in my opinion. I'd replace it with something like:</div><div><br></div><div>> Loop statements may have an else clause; it is executed immediately after the loop but is skipped if the loop was terminated by a break statement.</div>
<div><br></div><div><br></div><div>Yuval</div></div></div>