]> granicus.if.org Git - python/commitdiff
The docs claimed a test would pass that actually wouldn't pass. Repaired
authorTim Peters <tim.peters@gmail.com>
Mon, 4 Oct 2004 03:34:32 +0000 (03:34 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 4 Oct 2004 03:34:32 +0000 (03:34 +0000)
the example so it does pass.

Doc/lib/libdoctest.tex

index 92aa039a11649d9db0093c89f157d753e901b7a5..b982a73e54cc93f3b656852b93c6a7491c8193ec 100644 (file)
@@ -501,7 +501,7 @@ Some details you should read once, but won't need to remember:
   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 @@ SyntaxError: invalid syntax
 
 \begin{verbatim}
 >>> 1 1
+Traceback (most recent call last):
   File "<stdin>", line 1
     1 1
     ^