Next: The import statement Up: Simple statements Previous: The break statement

The continue statement


continue_stmt:  "continue"

continue may only occur syntactically nested in a for or while loop, but not nested in a function or class definition or try statement within that loop.

It continues with the next cycle of the nearest enclosing loop.


guido@cwi.nl