New submission from James Lu:

break 2 would break out of one loop then break out of another.
break
break
would just break once and not execute the second break.
break 2 when there are only 1 thing to break would raise raise a SyntaxError: 
Can only break 1 time, need to break 2 times.

----------
messages: 200603
nosy: James.Lu
priority: normal
severity: normal
status: open
title: break more than once

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to