[issue19318] break more than once

James Lu report at bugs.python.org
Sun Oct 20 20:19:17 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue19318>
_______________________________________


More information about the Python-bugs-list mailing list