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/libstruct.tex b/Doc/libstruct.tex
index 19f674c..2ed4f2c 100644
--- a/Doc/libstruct.tex
+++ b/Doc/libstruct.tex
@@ -13,7 +13,7 @@
The module defines the following exception and functions:
-\renewcommand{\indexsubitem}{(in module struct)}
+\setindexsubitem{(in module struct)}
\begin{excdesc}{error}
Exception raised on various occasions; argument is a string
describing what is wrong.
@@ -120,7 +120,7 @@
Examples (all using native byte order, size and alignment, on a
big-endian machine):
-\bcode\begin{verbatim}
+\begin{verbatim}
>>> from struct import *
>>> pack('hhl', 1, 2, 3)
'\000\001\000\002\000\000\000\003'
@@ -129,7 +129,7 @@
>>> calcsize('hhl')
8
>>>
-\end{verbatim}\ecode
+\end{verbatim}
%
Hint: to align the end of a structure to the alignment requirement of
a particular type, end the format with the code for that type with a