]> granicus.if.org Git - python/commitdiff
Since the doctest warnings section was reduced to one bullet point,
authorTim Peters <tim.peters@gmail.com>
Sat, 25 Sep 2004 01:30:16 +0000 (01:30 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 25 Sep 2004 01:30:16 +0000 (01:30 +0000)
get rid of the itemize structure.

Doc/lib/libdoctest.tex

index 4d55fec8db3403c383699103d5b1bbe7043694d4..1dab55f437d6ca7b40eaa04065f5e120bd6b356a 100644 (file)
@@ -712,14 +712,12 @@ can be useful.
 
 \subsubsection{Warnings\label{doctest-warnings}}
 
-\begin{itemize}
-
-\item \module{doctest} is serious about requiring exact matches in expected
-  output.  If even a single character doesn't match, the test fails.  This
-  will probably surprise you a few times, as you learn exactly what Python
-  does and doesn't guarantee about output.  For example, when printing a
-  dict, Python doesn't guarantee that the key-value pairs will be printed
-  in any particular order, so a test like
+\module{doctest} is serious about requiring exact matches in expected
+output.  If even a single character doesn't match, the test fails.  This
+will probably surprise you a few times, as you learn exactly what Python
+does and doesn't guarantee about output.  For example, when printing a
+dict, Python doesn't guarantee that the key-value pairs will be printed
+in any particular order, so a test like
 
 % Hey! What happened to Monty Python examples?
 % Tim: ask Guido -- it's his example!
@@ -788,8 +786,6 @@ often contrive doctest examples to produce numbers of that form:
 Simple fractions are also easier for people to understand, and that makes
 for better documentation.
 
-\end{itemize}
-
 \subsection{Basic API\label{doctest-basic-api}}
 
 The functions \function{testmod()} and \function{testfile()} provide a