|Python Language Reference Manual|
by Guido van Rossum and Fred L. Drake, Jr.
Paperback (6"x9"), 120 pages
RRP £12.95 ($19.95)
Sales of this book support the Python Software Foundation! Get a printed copy>>>
break may only occur syntactically nested in a
while loop, but not nested in a function or class definition
within that loop.
It terminates the nearest enclosing loop, skipping the optional
else clause if the loop has one.
for loop is terminated by
break, the loop control
target keeps its current value.
break passes control out of a
finally clause, that
finally clause is executed
before really leaving the loop.
|ISBN 0954161785||Python Language Reference Manual||See the print edition|