[Python-checkins] CVS: python/dist/src/Doc/lib libdoctest.tex,1.7,1.8
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 11 Jun 2001 07:55:03 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv28494/lib
Modified Files:
libdoctest.tex
Log Message:
Fix recent changes so that this section will format again.
Index: libdoctest.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdoctest.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** libdoctest.tex 2001/06/08 14:40:28 1.7
--- libdoctest.tex 2001/06/11 14:55:01 1.8
***************
*** 407,416 ****
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
\begin{verbatim}
--- 407,415 ----
Simple fractions are also easier for people to understand, and that makes
for better documentation.
\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
\begin{verbatim}
***************
*** 419,422 ****
--- 418,423 ----
doctest.testmod(sys.modules["__main__"])
\end{verbatim}
+ \end{enumerate}
+
\subsection{Soapbox}