Since the doctest warnings section was reduced to one bullet point,

get rid of the itemize structure.
This commit is contained in:
Tim Peters 2004-09-25 01:30:16 +00:00
parent 39c5de0376
commit 2dc820599b

View file

@ -712,9 +712,7 @@ can be useful.
\subsubsection{Warnings\label{doctest-warnings}} \subsubsection{Warnings\label{doctest-warnings}}
\begin{itemize} \module{doctest} is serious about requiring exact matches in expected
\item \module{doctest} is serious about requiring exact matches in expected
output. If even a single character doesn't match, the test fails. This 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 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 does and doesn't guarantee about output. For example, when printing a
@ -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 Simple fractions are also easier for people to understand, and that makes
for better documentation. for better documentation.
\end{itemize}
\subsection{Basic API\label{doctest-basic-api}} \subsection{Basic API\label{doctest-basic-api}}
The functions \function{testmod()} and \function{testfile()} provide a The functions \function{testmod()} and \function{testfile()} provide a