Yet Another Switch-Case Syntax Proposal

Ethan Furman ethan at stoneleaf.us
Thu Apr 3 23:13:12 EDT 2014


On 04/03/2014 08:09 PM, Chris Angelico wrote:
> On Fri, Apr 4, 2014 at 1:04 PM, MRAB <python at mrabarnett.plus.com> wrote:
>> I thought [continue] went to the end of the loop, but because it's a loop, it
>> just wraps around back to the top...
>
> It goes to the bottom of the loop, and then the loop condition may or
> may not send it to the top of the loop.

*ahem*

The loop condition is *at* the top of the loop;  if it was at the bottom it would be a do..until.  ;)

--
~Ethan~



More information about the Python-list mailing list