We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

The finally clause

The finally clause is part of the try statement.

Syntax (simplified):


For details, and a complete syntax description, see try. For a way to encapsulate try-finally behaviour, see with.