summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref4.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-06-20 20:55:29 (GMT)
committerFred Drake <fdrake@acm.org>2002-06-20 20:55:29 (GMT)
commit81932e234b647b5e57cdbdfa03f138d46536d2b5 (patch)
treed9d39db17b5792b7db6ed5e11f6cc13e5dc9d21e /Doc/ref/ref4.tex
parent5d0990494e7397945385691d9a315b5fa7d64147 (diff)
downloadcpython-81932e234b647b5e57cdbdfa03f138d46536d2b5.zip
cpython-81932e234b647b5e57cdbdfa03f138d46536d2b5.tar.gz
cpython-81932e234b647b5e57cdbdfa03f138d46536d2b5.tar.bz2
Try to improve the explanation of the "raise" statement and how its arguments
are interpreted. This closes SF bug #532467.
Diffstat (limited to 'Doc/ref/ref4.tex')
-rw-r--r--Doc/ref/ref4.tex9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/ref/ref4.tex b/Doc/ref/ref4.tex
index 1f8b237..f16dc8e 100644
--- a/Doc/ref/ref4.tex
+++ b/Doc/ref/ref4.tex
@@ -192,11 +192,10 @@ the \keyword{except} clause must reference the same class or a base
class of it.
When an exception is raised, an object (maybe \code{None}) is passed
-as the exception's ``parameter'' or ``value''; this object does not
-affect the selection of an exception handler, but is passed to the
-selected exception handler as additional information. For class
-exceptions, this object must be an instance of the exception class
-being raised.
+as the exception's \emph{value}; this object does not affect the
+selection of an exception handler, but is passed to the selected
+exception handler as additional information. For class exceptions,
+this object must be an instance of the exception class being raised.
See also the description of the \keyword{try} statement in section
\ref{try} and \keyword{raise} statement in section \ref{raise}.