(An Unofficial) Python Reference Wiki

"clearly marked experimental"

The else clause

The else clause only occurs as part of an if, while, for or try statement. The suite following this clause is executed when the controlling expression is false (for if and while), when the iterator is exhausted (for), or if no exception was raised (try).