(An Unofficial) Python Reference Wiki

"clearly marked experimental"

The continue statement

Syntax:

continue

continue may only occur syntactically nested in a for or while loop, also inside if, try, and with statements, but it cannot appear nested in a function or class definition or finally clause within that loop. It continues with the next cycle of the nearest enclosing loop.