diff options
author | Skip Montanaro <skip@pobox.com> | 2002-08-28 01:14:57 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-08-28 01:14:57 (GMT) |
commit | ee113f08f81640e651352a222d01895c5fd8535c (patch) | |
tree | f301b141622dc1cba4687aa3f57e0bdf95d6ca10 /Doc | |
parent | 9240be2a357260ed7910b0b666140abd4e7395e2 (diff) | |
download | cpython-ee113f08f81640e651352a222d01895c5fd8535c.zip cpython-ee113f08f81640e651352a222d01895c5fd8535c.tar.gz cpython-ee113f08f81640e651352a222d01895c5fd8535c.tar.bz2 |
add warning about exception messages
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ref/ref4.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/ref/ref4.tex b/Doc/ref/ref4.tex index 6e893f1..00f3058 100644 --- a/Doc/ref/ref4.tex +++ b/Doc/ref/ref4.tex @@ -197,5 +197,12 @@ 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. +\begin{notice}[warning] +Messages to exceptions are not part of the Python API. Their contents may +change from one version of Python to the next without warning and should not +be relied on by code which will run under multiple versions of the +interpreter. +\end{notice} + See also the description of the \keyword{try} statement in section \ref{try} and \keyword{raise} statement in section \ref{raise}. |