summaryrefslogtreecommitdiff
path: root/Doc/ref/ref7.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-08-24 22:14:01 +0000
committerFred Drake <fdrake@acm.org>1999-08-24 22:14:01 +0000
commit4c2533fe3c54afd577062d3e7c879040516a0aba (patch)
tree0838e6f99b864252eb65a2778951dde0f12798c7 /Doc/ref/ref7.tex
parentb68a125d64f0dc16924031539fca4bed6316e420 (diff)
downloadcpython-git-4c2533fe3c54afd577062d3e7c879040516a0aba.tar.gz
Added sentence "All exceptions must have an executable block."; from
Dan Wolfe <wolfeman@apple.com>.
Diffstat (limited to 'Doc/ref/ref7.tex')
-rw-r--r--Doc/ref/ref7.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/ref/ref7.tex b/Doc/ref/ref7.tex
index 437716b99b..7538caa511 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