summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-10-03 16:39:51 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-10-03 16:39:51 (GMT)
commitbee0d467a13683c354bf0692616125b16d8e28b6 (patch)
tree9a306197864138d61354ac47ee70a3030257399c /Doc/ref
parent4094d04457ba5a0adae636645c9c6d5fb99f202b (diff)
downloadcpython-bee0d467a13683c354bf0692616125b16d8e28b6.zip
cpython-bee0d467a13683c354bf0692616125b16d8e28b6.tar.gz
cpython-bee0d467a13683c354bf0692616125b16d8e28b6.tar.bz2
Correct docs for empty raise when no exception is active.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref6.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex
index b1389e0..3e4b69e 100644
--- a/Doc/ref/ref6.tex
+++ b/Doc/ref/ref6.tex
@@ -524,8 +524,9 @@ from __future__ import generators
If no expressions are present, \keyword{raise} re-raises the last
exception that was active in the current scope. If no exception is
-active in the current scope, a \exception{Queue.Empty} exception is
-raised indicating this error.
+active in the current scope, a \exception{TypeError} exception is
+raised indicating that this is an error (if running under IDLE, a
+\exception{Queue.Empty} exception is raised instead}.
\index{exception}
\indexii{raising}{exception}