GNU Info

Info Node: (python2.1-ref.info)continue statement

(python2.1-ref.info)continue statement


Next: import statement Prev: break statement Up: Simple statements
Enter node , (file) or (file)node

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.(1) It continues with the next cycle of the
nearest enclosing loop.

---------- Footnotes ----------

(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.


automatically generated by info2www version 1.2.2.9