]> granicus.if.org Git - python/commitdiff
Added sentence "All exceptions must have an executable block."; from
authorFred Drake <fdrake@acm.org>
Tue, 24 Aug 1999 22:14:01 +0000 (22:14 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 24 Aug 1999 22:14:01 +0000 (22:14 +0000)
Dan Wolfe <wolfeman@apple.com>.

Doc/ref/ref7.tex

index 437716b99b2022e5896c84ef150cb56b27be32aa..7538caa511b2662dd3db37c49d26e85b9613bbcd 100644 (file)
@@ -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