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/libmacos.tex b/Doc/libmacos.tex
index 3d1f234..e52c9cc 100644
--- a/Doc/libmacos.tex
+++ b/Doc/libmacos.tex
@@ -2,7 +2,7 @@
 \label{module-MacOS}
 \bimodindex{MacOS}
 
-\renewcommand{\indexsubitem}{(in module MacOS)}
+\setindexsubitem{(in module MacOS)}
 
 This module provides access to MacOS specific functionality in the
 python interpreter, such as how the interpreter eventloop functions