mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Since the doctest warnings section was reduced to one bullet point,
get rid of the itemize structure.
This commit is contained in:
parent
39c5de0376
commit
2dc820599b
1 changed files with 6 additions and 10 deletions
|
@ -712,9 +712,7 @@ can be useful.
|
|||
|
||||
\subsubsection{Warnings\label{doctest-warnings}}
|
||||
|
||||
\begin{itemize}
|
||||
|
||||
\item \module{doctest} is serious about requiring exact matches in expected
|
||||
\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
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue