Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
diff --git a/Doc/lib/libtemplate.tex b/Doc/lib/libtemplate.tex
index 29aeb63..4375649 100644
--- a/Doc/lib/libtemplate.tex
+++ b/Doc/lib/libtemplate.tex
@@ -45,7 +45,7 @@
% Redefine the ``indexsubitem'' macro to point to this module
% (alternatively, you can put this at the top of the file):
-\renewcommand{\indexsubitem}{(in module spam)}
+\setindexsubitem{(in module spam)}
% ---- 3.2. ----
% For each function, use a ``funcdesc'' block. This has exactly two
@@ -101,12 +101,12 @@
Example:
-\bcode\begin{verbatim}
+\begin{verbatim}
>>> import spam
>>> can = spam.open('/etc/passwd')
>>> can.empty()
>>> can.close()
-\end{verbatim}\ecode
+\end{verbatim}
%
% ==== 5. ====
% If your module defines new object types (for a built-in module) or
@@ -120,7 +120,7 @@
Spam objects (returned by \code{open()} above) have the following
methods.
-\renewcommand{\indexsubitem}{(spam method)}
+\setindexsubitem{(spam method)}
\begin{funcdesc}{empty}{}
Empty the can into the trash.