[Python-checkins] python/dist/src/Doc/ref ref6.tex, 1.73.2.4, 1.73.2.5
rhettinger@users.sourceforge.net
rhettinger at users.sourceforge.net
Mon Oct 3 18:40:39 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14619
Modified Files:
Tag: release24-maint
ref6.tex
Log Message:
Correct docs for empty raise when no exception is active.
Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.73.2.4
retrieving revision 1.73.2.5
diff -u -d -r1.73.2.4 -r1.73.2.5
--- ref6.tex 7 Sep 2005 05:18:06 -0000 1.73.2.4
+++ ref6.tex 3 Oct 2005 16:40:36 -0000 1.73.2.5
@@ -524,8 +524,9 @@
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}
More information about the Python-checkins
mailing list