summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref6.tex
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-05-29 02:17:23 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-05-29 02:17:23 (GMT)
commit847207acffaf35e59601fea7d54f6db6f307e327 (patch)
treeaec3d56d69f4f3f82a300d27122fcdd00a75c0aa /Doc/ref/ref6.tex
parentd3d5768e5ecf017d96b71d8ed437267ff47203b1 (diff)
downloadcpython-847207acffaf35e59601fea7d54f6db6f307e327.zip
cpython-847207acffaf35e59601fea7d54f6db6f307e327.tar.gz
cpython-847207acffaf35e59601fea7d54f6db6f307e327.tar.bz2
SF bug #719367, string exceptions are deprecated
Remove references to string based exceptions in the doc.
Diffstat (limited to 'Doc/ref/ref6.tex')
-rw-r--r--Doc/ref/ref6.tex8
1 files changed, 2 insertions, 6 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex
index d447f24..a078aa4 100644
--- a/Doc/ref/ref6.tex
+++ b/Doc/ref/ref6.tex
@@ -521,9 +521,8 @@ from __future__ import generators
\end{productionlist}
If no expressions are present, \keyword{raise} re-raises the last
-expression that was active in the current scope. If no exception has
-been active in the current scope, an exception is raised that
-indicates indicates that this is the error.
+expression that was active in the current scope. If no exception is
+active in the current scope, an exception is raised indicating this error.
\index{exception}
\indexii{raising}{exception}
@@ -545,9 +544,6 @@ used, and any other object is treated as a single argument to the
constructor. The instance so created by calling the constructor is
used as the exception value.
-If the first object is a string, the string object is the exception
-type, and the second object becomes the exception value.
-
If a third object is present and not \code{None}, it must be a
traceback\obindex{traceback} object (see section~\ref{traceback}), and
it is substituted instead of the current location as the place where