6.11 The continue statement
-
continue may only occur syntactically nested in a for or
while loop, but not nested in a function or class definition or
finally statement within that loop.6.1It continues with the next cycle of the nearest enclosing loop.
Footnotes
- ... loop.6.1
- It may
occur within an except or else clause. The
restriction on occurring in the try clause is implementor's
laziness and will eventually be lifted.
Release 2.5.4, documentation updated on 23rd December, 2008.
See About this document... for information on suggesting changes.