From: Fred Drake Date: Tue, 24 Aug 1999 22:14:01 +0000 (+0000) Subject: Added sentence "All exceptions must have an executable block."; from X-Git-Tag: v1.6a1~981 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c2533fe3c54afd577062d3e7c879040516a0aba;p=thirdparty%2FPython%2Fcpython.git Added sentence "All exceptions must have an executable block."; from Dan Wolfe . --- diff --git a/Doc/ref/ref7.tex b/Doc/ref/ref7.tex index 437716b99b20..7538caa511b2 100644 --- a/Doc/ref/ref7.tex +++ b/Doc/ref/ref7.tex @@ -218,7 +218,8 @@ raised the exception). When a matching except clause is found, the exception's parameter is assigned to the target specified in that except clause, if present, -and the except clause's suite is executed. When the end of this suite +and the except clause's suite is executed. All except clauses must +have an executable block. When the end of this block is reached, execution continues normally after the entire try statement. (This means that if two nested handlers exist for the same exception, and the exception occurs in the try clause of the inner