[Python-checkins] python/dist/src/Doc/lib libdoctest.tex,1.64,1.65
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Mon Oct 4 05:34:35 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18702/Doc/lib
Modified Files:
libdoctest.tex
Log Message:
The docs claimed a test would pass that actually wouldn't pass. Repaired
the example so it does pass.
Index: libdoctest.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdoctest.tex,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- libdoctest.tex 30 Sep 2004 17:18:18 -0000 1.64
+++ libdoctest.tex 4 Oct 2004 03:34:32 -0000 1.65
@@ -501,7 +501,7 @@
case where you need to test a \exception{SyntaxError} that omits the
traceback header, you will need to manually add the traceback header
line to your test example.
-
+
\item For some \exception{SyntaxError}s, Python displays the character
position of the syntax error, using a \code{\^} marker:
@@ -520,6 +520,7 @@
\begin{verbatim}
>>> 1 1
+Traceback (most recent call last):
File "<stdin>", line 1
1 1
^
More information about the Python-checkins
mailing list