]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix recent changes so that this section will format again.
authorFred Drake <fdrake@acm.org>
Mon, 11 Jun 2001 14:55:01 +0000 (14:55 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 11 Jun 2001 14:55:01 +0000 (14:55 +0000)
Doc/lib/libdoctest.tex

index 30833da181a14c13923bc013031c5eb74358aa9a..9b99b9d51d25f888c51b958dbb96d2d1c3d4f6e6 100644 (file)
@@ -406,18 +406,19 @@ 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{enumerate}
 
 \item Be careful if you have code that must only execute once.
 
 If you have module-level code that must only execute once, a more foolproof
-definition of \function{_test} is
+definition of \function{_test()} is
 
 \begin{verbatim}
 def _test():
     import doctest, sys
     doctest.testmod(sys.modules["__main__"])
 \end{verbatim}
+\end{enumerate}
+
 
 \subsection{Soapbox}