From 3a0351cf8556a20e5ccfb63ba0dbbdba79684063 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 4 Apr 1998 07:23:21 +0000 Subject: Remove all uses of \sectcode; we can now use logical markup everywhere. --- Doc/howto.tex | 4 ++-- Doc/lib/libamoeba.tex | 2 +- Doc/lib/libanydbm.tex | 2 +- Doc/lib/libarray.tex | 2 +- Doc/lib/libbastion.tex | 2 +- Doc/lib/libbltin.tex | 2 +- Doc/lib/libcmath.tex | 2 +- Doc/lib/libcode.tex | 2 +- Doc/lib/libcopy.tex | 2 +- Doc/lib/libcopyreg.tex | 2 +- Doc/lib/libcrypt.tex | 2 +- Doc/lib/libdbm.tex | 2 +- Doc/lib/liberrno.tex | 2 +- Doc/lib/libfcntl.tex | 2 +- Doc/lib/libfm.tex | 2 +- Doc/lib/libfnmatch.tex | 2 +- Doc/lib/libformatter.tex | 2 +- Doc/lib/libframework.tex | 2 +- Doc/lib/libgdbm.tex | 2 +- Doc/lib/libgetopt.tex | 2 +- Doc/lib/libgl.tex | 4 ++-- Doc/lib/libglob.tex | 2 +- Doc/lib/libgopherlib.tex | 2 +- Doc/lib/libgrp.tex | 2 +- Doc/lib/libgzip.tex | 2 +- Doc/lib/libhtmllib.tex | 2 +- Doc/lib/libimghdr.tex | 2 +- Doc/lib/libimp.tex | 2 +- Doc/lib/libkeyword.tex | 2 +- Doc/lib/liblocale.tex | 2 +- Doc/lib/libmailbox.tex | 2 +- Doc/lib/libmailcap.tex | 2 +- Doc/lib/libmain.tex | 2 +- Doc/lib/libmarshal.tex | 2 +- Doc/lib/libmath.tex | 2 +- Doc/lib/libmimify.tex | 2 +- Doc/lib/libni.tex | 2 +- Doc/lib/liboperator.tex | 2 +- Doc/lib/libos.tex | 2 +- Doc/lib/libpanel.tex | 6 +++--- Doc/lib/libparser.tex | 4 ++-- Doc/lib/libpickle.tex | 2 +- Doc/lib/libposix.tex | 2 +- Doc/lib/libposixfile.tex | 2 +- Doc/lib/libppath.tex | 2 +- Doc/lib/libpprint.tex | 2 +- Doc/lib/libprofile.tex | 2 +- Doc/lib/libpwd.tex | 2 +- Doc/lib/libqueue.tex | 2 +- Doc/lib/librand.tex | 2 +- Doc/lib/librandom.tex | 2 +- Doc/lib/libre.tex | 2 +- Doc/lib/libregex.tex | 2 +- Doc/lib/libregsub.tex | 2 +- Doc/lib/libresource.tex | 2 +- Doc/lib/librexec.tex | 2 +- Doc/lib/librfc822.tex | 2 +- Doc/lib/libselect.tex | 2 +- Doc/lib/libsgmllib.tex | 2 +- Doc/lib/libshelve.tex | 2 +- Doc/lib/libsignal.tex | 2 +- Doc/lib/libsite.tex | 2 +- Doc/lib/libsocket.tex | 2 +- Doc/lib/libsocksvr.tex | 2 +- Doc/lib/libsoundex.tex | 2 +- Doc/lib/libstat.tex | 2 +- Doc/lib/libstdwin.tex | 8 ++++---- Doc/lib/libstring.tex | 2 +- Doc/lib/libstrio.tex | 2 +- Doc/lib/libstruct.tex | 2 +- Doc/lib/libsymbol.tex | 2 +- Doc/lib/libsys.tex | 2 +- Doc/lib/libsyslog.tex | 2 +- Doc/lib/libtempfile.tex | 2 +- Doc/lib/libtermios.tex | 4 ++-- Doc/lib/libthread.tex | 2 +- Doc/lib/libtime.tex | 2 +- Doc/lib/libtoken.tex | 2 +- Doc/lib/libtraceback.tex | 2 +- Doc/lib/liburllib.tex | 2 +- Doc/lib/liburlparse.tex | 2 +- Doc/lib/libuser.tex | 2 +- Doc/lib/libuserdict.tex | 2 +- Doc/lib/libuu.tex | 2 +- Doc/lib/libwhichdb.tex | 2 +- Doc/lib/libwhrandom.tex | 2 +- Doc/lib/libxdrlib.tex | 2 +- Doc/libamoeba.tex | 2 +- Doc/libanydbm.tex | 2 +- Doc/libarray.tex | 2 +- Doc/libbastion.tex | 2 +- Doc/libbltin.tex | 2 +- Doc/libcmath.tex | 2 +- Doc/libcode.tex | 2 +- Doc/libcopy.tex | 2 +- Doc/libcopyreg.tex | 2 +- Doc/libcrypt.tex | 2 +- Doc/libctb.tex | 2 +- Doc/libdbm.tex | 2 +- Doc/liberrno.tex | 2 +- Doc/libfcntl.tex | 2 +- Doc/libfm.tex | 2 +- Doc/libfnmatch.tex | 2 +- Doc/libformatter.tex | 2 +- Doc/libframework.tex | 2 +- Doc/libgdbm.tex | 2 +- Doc/libgetopt.tex | 2 +- Doc/libgl.tex | 4 ++-- Doc/libglob.tex | 2 +- Doc/libgopherlib.tex | 2 +- Doc/libgrp.tex | 2 +- Doc/libgzip.tex | 2 +- Doc/libhtmllib.tex | 2 +- Doc/libimghdr.tex | 2 +- Doc/libimp.tex | 2 +- Doc/libkeyword.tex | 2 +- Doc/liblocale.tex | 2 +- Doc/libmac.tex | 4 ++-- Doc/libmacconsole.tex | 2 +- Doc/libmacdnr.tex | 2 +- Doc/libmacfs.tex | 2 +- Doc/libmacic.tex | 2 +- Doc/libmacos.tex | 2 +- Doc/libmacostools.tex | 4 ++-- Doc/libmactcp.tex | 2 +- Doc/libmailbox.tex | 2 +- Doc/libmailcap.tex | 2 +- Doc/libmain.tex | 2 +- Doc/libmarshal.tex | 2 +- Doc/libmath.tex | 2 +- Doc/libmimify.tex | 2 +- Doc/libni.tex | 2 +- Doc/liboperator.tex | 2 +- Doc/libos.tex | 2 +- Doc/libpanel.tex | 6 +++--- Doc/libparser.tex | 4 ++-- Doc/libpickle.tex | 2 +- Doc/libposix.tex | 2 +- Doc/libposixfile.tex | 2 +- Doc/libppath.tex | 2 +- Doc/libpprint.tex | 2 +- Doc/libprofile.tex | 2 +- Doc/libpwd.tex | 2 +- Doc/libqueue.tex | 2 +- Doc/librand.tex | 2 +- Doc/librandom.tex | 2 +- Doc/libre.tex | 2 +- Doc/libregex.tex | 2 +- Doc/libregsub.tex | 2 +- Doc/libresource.tex | 2 +- Doc/librexec.tex | 2 +- Doc/librfc822.tex | 2 +- Doc/libselect.tex | 2 +- Doc/libsgmllib.tex | 2 +- Doc/libshelve.tex | 2 +- Doc/libsignal.tex | 2 +- Doc/libsite.tex | 2 +- Doc/libsocket.tex | 2 +- Doc/libsocksvr.tex | 2 +- Doc/libsoundex.tex | 2 +- Doc/libstat.tex | 2 +- Doc/libstdwin.tex | 8 ++++---- Doc/libstring.tex | 2 +- Doc/libstrio.tex | 2 +- Doc/libstruct.tex | 2 +- Doc/libsymbol.tex | 2 +- Doc/libsys.tex | 2 +- Doc/libsyslog.tex | 2 +- Doc/libtempfile.tex | 2 +- Doc/libtermios.tex | 4 ++-- Doc/libthread.tex | 2 +- Doc/libtime.tex | 2 +- Doc/libtoken.tex | 2 +- Doc/libtraceback.tex | 2 +- Doc/liburllib.tex | 2 +- Doc/liburlparse.tex | 2 +- Doc/libuser.tex | 2 +- Doc/libuserdict.tex | 2 +- Doc/libuu.tex | 2 +- Doc/libwhichdb.tex | 2 +- Doc/libwhrandom.tex | 2 +- Doc/libxdrlib.tex | 2 +- Doc/mac/libctb.tex | 2 +- Doc/mac/libframework.tex | 2 +- Doc/mac/libmac.tex | 4 ++-- Doc/mac/libmacconsole.tex | 2 +- Doc/mac/libmacdnr.tex | 2 +- Doc/mac/libmacfs.tex | 2 +- Doc/mac/libmacic.tex | 2 +- Doc/mac/libmacos.tex | 2 +- Doc/mac/libmacostools.tex | 4 ++-- Doc/mac/libmactcp.tex | 2 +- Doc/templates/howto.tex | 4 ++-- 193 files changed, 215 insertions(+), 215 deletions(-) diff --git a/Doc/howto.tex b/Doc/howto.tex index c52c4f1..b6121a3 100644 --- a/Doc/howto.tex +++ b/Doc/howto.tex @@ -69,7 +69,7 @@ implements ActiveSprockets in Python. % The following is a model for such a reference section, for % an extension module written in C. -\section{Extension Module \sectcode{spamsprock}} +\section{Extension Module \module{spamsprock}} \exmodindex{spamsprock} % Set the module name for the index \label{module-spamsprock} % Create a label for cross-references @@ -104,7 +104,7 @@ not be performed. The default is to frobnicate randomly. % The following section is a model for documenting modules written in % Python. -\section{Module \sectcode{sprunkit}} +\section{Module \module{sprunkit}} \modindex{ezspam} \label{module-sprunkit} diff --git a/Doc/lib/libamoeba.tex b/Doc/lib/libamoeba.tex index c4e61c0..0d3df2b 100644 --- a/Doc/lib/libamoeba.tex +++ b/Doc/lib/libamoeba.tex @@ -1,6 +1,6 @@ \chapter{Amoeba Specific Services} -\section{Built-in Module \sectcode{amoeba}} +\section{Built-in Module \module{amoeba}} \label{module-amoeba} \bimodindex{amoeba} diff --git a/Doc/lib/libanydbm.tex b/Doc/lib/libanydbm.tex index 1c46c61..2d3fe67 100644 --- a/Doc/lib/libanydbm.tex +++ b/Doc/lib/libanydbm.tex @@ -1,4 +1,4 @@ -\section{Standard Modules \sectcode{anydbm} and \sectcode{dumbdbm}} +\section{Standard Modules \module{anydbm} and \module{dumbdbm}} \label{module-anydbm} \label{module-dumbdbm} \stmodindex{anydbm} diff --git a/Doc/lib/libarray.tex b/Doc/lib/libarray.tex index 7ef0c53..19ba91d 100644 --- a/Doc/lib/libarray.tex +++ b/Doc/lib/libarray.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{array}} +\section{Built-in Module \module{array}} \label{module-array} \bimodindex{array} \index{arrays} diff --git a/Doc/lib/libbastion.tex b/Doc/lib/libbastion.tex index b5bec15..ddf6d9e 100644 --- a/Doc/lib/libbastion.tex +++ b/Doc/lib/libbastion.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{Bastion}} +\section{Standard Module \module{Bastion}} \label{module-Bastion} \stmodindex{Bastion} diff --git a/Doc/lib/libbltin.tex b/Doc/lib/libbltin.tex index 7413093..a4a0dd0 100644 --- a/Doc/lib/libbltin.tex +++ b/Doc/lib/libbltin.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{__builtin__}} +\section{Built-in Module \module{__builtin__}} \label{module-builtin} \bimodindex{__builtin__} diff --git a/Doc/lib/libcmath.tex b/Doc/lib/libcmath.tex index ae50743..adce12f 100644 --- a/Doc/lib/libcmath.tex +++ b/Doc/lib/libcmath.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{cmath}} +\section{Built-in Module \module{cmath}} \label{module-cmath} \bimodindex{cmath} diff --git a/Doc/lib/libcode.tex b/Doc/lib/libcode.tex index 4f360bf..023d276 100644 --- a/Doc/lib/libcode.tex +++ b/Doc/lib/libcode.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{code}} +\section{Standard Module \module{code}} \label{module-code} \stmodindex{code} diff --git a/Doc/lib/libcopy.tex b/Doc/lib/libcopy.tex index 1d1fd22..4e43585 100644 --- a/Doc/lib/libcopy.tex +++ b/Doc/lib/libcopy.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{copy}} +\section{Standard Module \module{copy}} \label{module-copy} \stmodindex{copy} \setindexsubitem{(copy function)} diff --git a/Doc/lib/libcopyreg.tex b/Doc/lib/libcopyreg.tex index 9816bc9..7dabf42 100644 --- a/Doc/lib/libcopyreg.tex +++ b/Doc/lib/libcopyreg.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{copy_reg}} +\section{Standard Module \module{copy_reg}} % Note that the label is a little off; the underscore causes LaTeX to % yell & scream. \label{module-copyreg} diff --git a/Doc/lib/libcrypt.tex b/Doc/lib/libcrypt.tex index bdcc7da..8e9a7d3 100644 --- a/Doc/lib/libcrypt.tex +++ b/Doc/lib/libcrypt.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{crypt}} +\section{Built-in Module \module{crypt}} \label{module-crypt} \bimodindex{crypt} diff --git a/Doc/lib/libdbm.tex b/Doc/lib/libdbm.tex index ac5343f..c4317fe 100644 --- a/Doc/lib/libdbm.tex +++ b/Doc/lib/libdbm.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{dbm}} +\section{Built-in Module \module{dbm}} \label{module-dbm} \bimodindex{dbm} diff --git a/Doc/lib/liberrno.tex b/Doc/lib/liberrno.tex index 28f68c5..40ab90d 100644 --- a/Doc/lib/liberrno.tex +++ b/Doc/lib/liberrno.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{errno}} +\section{Standard Module \module{errno}} \label{module-errno} \stmodindex{errno} diff --git a/Doc/lib/libfcntl.tex b/Doc/lib/libfcntl.tex index 6811008..1c64af9 100644 --- a/Doc/lib/libfcntl.tex +++ b/Doc/lib/libfcntl.tex @@ -1,5 +1,5 @@ % Manual text by Jaap Vermeulen -\section{Built-in Module \sectcode{fcntl}} +\section{Built-in Module \module{fcntl}} \label{module-fcntl} \bimodindex{fcntl} \indexii{UNIX@\UNIX{}}{file control} diff --git a/Doc/lib/libfm.tex b/Doc/lib/libfm.tex index bac5d39..abcbaa4 100644 --- a/Doc/lib/libfm.tex +++ b/Doc/lib/libfm.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{fm}} +\section{Built-in Module \module{fm}} \label{module-fm} \bimodindex{fm} diff --git a/Doc/lib/libfnmatch.tex b/Doc/lib/libfnmatch.tex index cb1684e..f2f82ba 100644 --- a/Doc/lib/libfnmatch.tex +++ b/Doc/lib/libfnmatch.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{fnmatch}} +\section{Standard Module \module{fnmatch}} \label{module-fnmatch} \stmodindex{fnmatch} diff --git a/Doc/lib/libformatter.tex b/Doc/lib/libformatter.tex index 25e68d6..6a97f80 100644 --- a/Doc/lib/libformatter.tex +++ b/Doc/lib/libformatter.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{formatter}} +\section{Standard Module \module{formatter}} \label{module-formatter} \stmodindex{formatter} diff --git a/Doc/lib/libframework.tex b/Doc/lib/libframework.tex index 6e77870..5bd2e2a 100644 --- a/Doc/lib/libframework.tex +++ b/Doc/lib/libframework.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{FrameWork}} +\section{Standard Module \module{FrameWork}} \stmodindex{FrameWork} \label{module-FrameWork} diff --git a/Doc/lib/libgdbm.tex b/Doc/lib/libgdbm.tex index 0761991..8f2d7d1 100644 --- a/Doc/lib/libgdbm.tex +++ b/Doc/lib/libgdbm.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{gdbm}} +\section{Built-in Module \module{gdbm}} \label{module-gdbm} \bimodindex{gdbm} diff --git a/Doc/lib/libgetopt.tex b/Doc/lib/libgetopt.tex index ff0461c..be00fef 100644 --- a/Doc/lib/libgetopt.tex +++ b/Doc/lib/libgetopt.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{getopt}} +\section{Standard Module \module{getopt}} \label{module-getopt} \stmodindex{getopt} diff --git a/Doc/lib/libgl.tex b/Doc/lib/libgl.tex index de429ac..abbaf10 100644 --- a/Doc/lib/libgl.tex +++ b/Doc/lib/libgl.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{gl}} +\section{Built-in Module \module{gl}} \label{module-gl} \bimodindex{gl} @@ -183,7 +183,7 @@ def main(): main() \end{verbatim} % -\section{Standard Modules \sectcode{GL} and \sectcode{DEVICE}} +\section{Standard Modules \module{GL} and \module{DEVICE}} \nodename{GL and DEVICE} \stmodindex{GL} \stmodindex{DEVICE} diff --git a/Doc/lib/libglob.tex b/Doc/lib/libglob.tex index 97d0ed5..6864c77 100644 --- a/Doc/lib/libglob.tex +++ b/Doc/lib/libglob.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{glob}} +\section{Standard Module \module{glob}} \label{module-glob} \stmodindex{glob} diff --git a/Doc/lib/libgopherlib.tex b/Doc/lib/libgopherlib.tex index d0c7d77..156d6d7 100644 --- a/Doc/lib/libgopherlib.tex +++ b/Doc/lib/libgopherlib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{gopherlib}} +\section{Standard Module \module{gopherlib}} \label{module-gopherlib} \stmodindex{gopherlib} \indexii{Gopher}{protocol} diff --git a/Doc/lib/libgrp.tex b/Doc/lib/libgrp.tex index da66800..551171b 100644 --- a/Doc/lib/libgrp.tex +++ b/Doc/lib/libgrp.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{grp}} +\section{Built-in Module \module{grp}} \label{module-grp} \bimodindex{grp} diff --git a/Doc/lib/libgzip.tex b/Doc/lib/libgzip.tex index a56e573..fd2bc28 100644 --- a/Doc/lib/libgzip.tex +++ b/Doc/lib/libgzip.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{gzip}} +\section{Standard Module \module{gzip}} \label{module-gzip} \stmodindex{gzip} diff --git a/Doc/lib/libhtmllib.tex b/Doc/lib/libhtmllib.tex index 7737845..c856b42 100644 --- a/Doc/lib/libhtmllib.tex +++ b/Doc/lib/libhtmllib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{htmllib}} +\section{Standard Module \module{htmllib}} \label{module-htmllib} \stmodindex{htmllib} \index{HTML} diff --git a/Doc/lib/libimghdr.tex b/Doc/lib/libimghdr.tex index bf1c0ef..d624f06 100644 --- a/Doc/lib/libimghdr.tex +++ b/Doc/lib/libimghdr.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{imghdr}} +\section{Standard Module \module{imghdr}} \label{module-imghdr} \stmodindex{imghdr} diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex index 5664c81..7d4f8d1 100644 --- a/Doc/lib/libimp.tex +++ b/Doc/lib/libimp.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{imp}} +\section{Built-in Module \module{imp}} \label{module-imp} \bimodindex{imp} \index{import} diff --git a/Doc/lib/libkeyword.tex b/Doc/lib/libkeyword.tex index b4910a6..7a263ef 100644 --- a/Doc/lib/libkeyword.tex +++ b/Doc/lib/libkeyword.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{keyword}} +\section{Standard Module \module{keyword}} \label{module-keyword} \stmodindex{keyword} diff --git a/Doc/lib/liblocale.tex b/Doc/lib/liblocale.tex index 44059d1..1752790 100644 --- a/Doc/lib/liblocale.tex +++ b/Doc/lib/liblocale.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{locale}} +\section{Standard Module \module{locale}} \stmodindex{locale} \label{module-locale} diff --git a/Doc/lib/libmailbox.tex b/Doc/lib/libmailbox.tex index e9dcb89..4ff2dedb 100644 --- a/Doc/lib/libmailbox.tex +++ b/Doc/lib/libmailbox.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{mailbox}} +\section{Standard Module \module{mailbox}} \label{module-mailbox} \stmodindex{mailbox} diff --git a/Doc/lib/libmailcap.tex b/Doc/lib/libmailcap.tex index 52e2ee4..0ea762a 100644 --- a/Doc/lib/libmailcap.tex +++ b/Doc/lib/libmailcap.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{mailcap}} +\section{Standard Module \module{mailcap}} \label{module-mailcap} \stmodindex{mailcap} diff --git a/Doc/lib/libmain.tex b/Doc/lib/libmain.tex index 8ce73a8..df1fbfb 100644 --- a/Doc/lib/libmain.tex +++ b/Doc/lib/libmain.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{__main__}} +\section{Built-in Module \module{__main__}} \label{module-main} \bimodindex{__main__} This module represents the (otherwise anonymous) scope in which the diff --git a/Doc/lib/libmarshal.tex b/Doc/lib/libmarshal.tex index a2a8084..5878cfa 100644 --- a/Doc/lib/libmarshal.tex +++ b/Doc/lib/libmarshal.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{marshal}} +\section{Built-in Module \module{marshal}} \label{module-marshal} \bimodindex{marshal} diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex index 6cbf830..1cc6b20 100644 --- a/Doc/lib/libmath.tex +++ b/Doc/lib/libmath.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{math}} +\section{Built-in Module \module{math}} \label{module-math} \bimodindex{math} diff --git a/Doc/lib/libmimify.tex b/Doc/lib/libmimify.tex index 8ac73c2..366e940 100644 --- a/Doc/lib/libmimify.tex +++ b/Doc/lib/libmimify.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{mimify}} +\section{Standard Module \module{mimify}} \label{module-mimify} \stmodindex{mimify} diff --git a/Doc/lib/libni.tex b/Doc/lib/libni.tex index 8a251da..14ff395 100644 --- a/Doc/lib/libni.tex +++ b/Doc/lib/libni.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{ni}} +\section{Standard Module \module{ni}} \label{module-ni} \stmodindex{ni} diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex index 812ca13..2169ea8 100644 --- a/Doc/lib/liboperator.tex +++ b/Doc/lib/liboperator.tex @@ -1,6 +1,6 @@ % Contributed by Skip Montanaro, from the module's doc strings. -\section{Built-in Module \sectcode{operator}} +\section{Built-in Module \module{operator}} \label{module-operator} \bimodindex{operator} diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 953e117..810e40c 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{os}} +\section{Standard Module \module{os}} \label{module-os} \stmodindex{os} diff --git a/Doc/lib/libpanel.tex b/Doc/lib/libpanel.tex index 57b8e4f..3553808 100644 --- a/Doc/lib/libpanel.tex +++ b/Doc/lib/libpanel.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{panel}} +\section{Standard Module \module{panel}} \label{module-panel} \stmodindex{panel} @@ -29,7 +29,7 @@ before calling or \code{panel.defpanellist()}. -\section{Standard Module \sectcode{panelparser}} +\section{Standard Module \module{panelparser}} \label{module-panelparser} \stmodindex{panelparser} @@ -45,7 +45,7 @@ to Python strings and sub-expressions (recursively) to Python lists. For more details, read the module file. % XXXXJH should be funcdesc, I think -\section{Built-in Module \sectcode{pnl}} +\section{Built-in Module \module{pnl}} \label{module-pnl} \bimodindex{pnl} diff --git a/Doc/lib/libparser.tex b/Doc/lib/libparser.tex index 56e1931..7b3f6f6 100644 --- a/Doc/lib/libparser.tex +++ b/Doc/lib/libparser.tex @@ -9,7 +9,7 @@ % in any way. % -\section{Built-in Module \sectcode{parser}} +\section{Built-in Module \module{parser}} \label{module-parser} \bimodindex{parser} \index{parsing!Python source code} @@ -293,7 +293,7 @@ of the \function{compile()}\bifuncindex{compile} built-in function and the complex example shows the use of a parse tree for information discovery. -\subsubsection{Emulation of \sectcode{compile()}} +\subsubsection{Emulation of \module{compile()}} While many useful operations may take place between parsing and bytecode generation, the simplest operation is to do nothing. For diff --git a/Doc/lib/libpickle.tex b/Doc/lib/libpickle.tex index 3c1eaa6..038b763 100644 --- a/Doc/lib/libpickle.tex +++ b/Doc/lib/libpickle.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{pickle}} +\section{Standard Module \module{pickle}} \label{module-pickle} \stmodindex{pickle} \index{persistency} diff --git a/Doc/lib/libposix.tex b/Doc/lib/libposix.tex index 261c6aa..071cf56 100644 --- a/Doc/lib/libposix.tex +++ b/Doc/lib/libposix.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{posix}} +\section{Built-in Module \module{posix}} \label{module-posix} \bimodindex{posix} diff --git a/Doc/lib/libposixfile.tex b/Doc/lib/libposixfile.tex index 9ab584b..f3c5d98 100644 --- a/Doc/lib/libposixfile.tex +++ b/Doc/lib/libposixfile.tex @@ -1,5 +1,5 @@ % Manual text and implementation by Jaap Vermeulen -\section{Standard Module \sectcode{posixfile}} +\section{Standard Module \module{posixfile}} \label{module-posixfile} \bimodindex{posixfile} \indexii{\POSIX{}}{file object} diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex index 6639c7c..86b5a34 100644 --- a/Doc/lib/libppath.tex +++ b/Doc/lib/libppath.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{posixpath}} +\section{Standard Module \module{posixpath}} \label{module-posixpath} \stmodindex{posixpath} diff --git a/Doc/lib/libpprint.tex b/Doc/lib/libpprint.tex index 6c499df..0ad1dc5 100644 --- a/Doc/lib/libpprint.tex +++ b/Doc/lib/libpprint.tex @@ -1,6 +1,6 @@ %% Author: Fred L. Drake, Jr. -\section{Standard Module \sectcode{pprint}} +\section{Standard Module \module{pprint}} \stmodindex{pprint} \label{module-pprint} diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex index 174b51d..43d92c1 100644 --- a/Doc/lib/libprofile.tex +++ b/Doc/lib/libprofile.tex @@ -358,7 +358,7 @@ need to be combined with data in an existing \class{Stats} object, the \end{classdesc} -\subsection{The \sectcode{Stats} Class} +\subsection{The \module{Stats} Class} \setindexsubitem{(Stats method)} diff --git a/Doc/lib/libpwd.tex b/Doc/lib/libpwd.tex index 61de3fc..5275acd 100644 --- a/Doc/lib/libpwd.tex +++ b/Doc/lib/libpwd.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{pwd}} +\section{Built-in Module \module{pwd}} \label{module-pwd} \bimodindex{pwd} diff --git a/Doc/lib/libqueue.tex b/Doc/lib/libqueue.tex index db6cabc..680238d 100644 --- a/Doc/lib/libqueue.tex +++ b/Doc/lib/libqueue.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{Queue}} +\section{Standard Module \module{Queue}} \stmodindex{Queue} \label{module-Queue} diff --git a/Doc/lib/librand.tex b/Doc/lib/librand.tex index 3e19440..a48ea22 100644 --- a/Doc/lib/librand.tex +++ b/Doc/lib/librand.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{rand}} +\section{Standard Module \module{rand}} \label{module-rand} \stmodindex{rand} diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex index 35271ba..fb62f8f 100644 --- a/Doc/lib/librandom.tex +++ b/Doc/lib/librandom.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{random}} +\section{Standard Module \module{random}} \label{module-random} \stmodindex{random} diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex index 424ca9c..f04f4dc 100644 --- a/Doc/lib/libre.tex +++ b/Doc/lib/libre.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{re}} +\section{Built-in Module \module{re}} \label{module-re} \bimodindex{re} diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex index 6582c72..0c216d2 100644 --- a/Doc/lib/libregex.tex +++ b/Doc/lib/libregex.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{regex}} +\section{Built-in Module \module{regex}} \label{module-regex} \bimodindex{regex} diff --git a/Doc/lib/libregsub.tex b/Doc/lib/libregsub.tex index 6ee873d..93c955e 100644 --- a/Doc/lib/libregsub.tex +++ b/Doc/lib/libregsub.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{regsub}} +\section{Standard Module \module{regsub}} \label{module-regsub} \stmodindex{regsub} diff --git a/Doc/lib/libresource.tex b/Doc/lib/libresource.tex index 7e7a288..b07240a 100644 --- a/Doc/lib/libresource.tex +++ b/Doc/lib/libresource.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{resource}} +\section{Built-in Module \module{resource}} \label{module-resource} \bimodindex{resource} diff --git a/Doc/lib/librexec.tex b/Doc/lib/librexec.tex index 03e8284..baddece 100644 --- a/Doc/lib/librexec.tex +++ b/Doc/lib/librexec.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{rexec}} +\section{Standard Module \module{rexec}} \label{module-rexec} \stmodindex{rexec} diff --git a/Doc/lib/librfc822.tex b/Doc/lib/librfc822.tex index bfc63c9..945aef2 100644 --- a/Doc/lib/librfc822.tex +++ b/Doc/lib/librfc822.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{rfc822}} +\section{Standard Module \module{rfc822}} \label{module-rfc822} \stmodindex{rfc822} diff --git a/Doc/lib/libselect.tex b/Doc/lib/libselect.tex index ba234ab..b7a8c85 100644 --- a/Doc/lib/libselect.tex +++ b/Doc/lib/libselect.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{select}} +\section{Built-in Module \module{select}} \label{module-select} \bimodindex{select} diff --git a/Doc/lib/libsgmllib.tex b/Doc/lib/libsgmllib.tex index f86e729..f086b4b 100644 --- a/Doc/lib/libsgmllib.tex +++ b/Doc/lib/libsgmllib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{sgmllib}} +\section{Standard Module \module{sgmllib}} \label{module-sgmllib} \stmodindex{sgmllib} \index{SGML} diff --git a/Doc/lib/libshelve.tex b/Doc/lib/libshelve.tex index 4349534..90afbc6 100644 --- a/Doc/lib/libshelve.tex +++ b/Doc/lib/libshelve.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{shelve}} +\section{Standard Module \module{shelve}} \label{module-shelve} \stmodindex{shelve} diff --git a/Doc/lib/libsignal.tex b/Doc/lib/libsignal.tex index 266454f..49eb62e 100644 --- a/Doc/lib/libsignal.tex +++ b/Doc/lib/libsignal.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{signal}} +\section{Built-in Module \module{signal}} \label{module-signal} \bimodindex{signal} diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex index 3796801..5ddbe8a 100644 --- a/Doc/lib/libsite.tex +++ b/Doc/lib/libsite.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{site}} +\section{Standard Module \module{site}} \label{module-site} \stmodindex{site} diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index 030eb72..76d2b1a 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{socket}} +\section{Built-in Module \module{socket}} \label{module-socket} \bimodindex{socket} diff --git a/Doc/lib/libsocksvr.tex b/Doc/lib/libsocksvr.tex index 2ee36a4..8769c36 100644 --- a/Doc/lib/libsocksvr.tex +++ b/Doc/lib/libsocksvr.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{SocketServer}} +\section{Standard Module \module{SocketServer}} \label{module-SocketServer} \stmodindex{SocketServer} diff --git a/Doc/lib/libsoundex.tex b/Doc/lib/libsoundex.tex index 5ea1ad3..7d483ed 100644 --- a/Doc/lib/libsoundex.tex +++ b/Doc/lib/libsoundex.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{soundex}} +\section{Built-in Module \module{soundex}} \label{module-soundex} \bimodindex{soundex} diff --git a/Doc/lib/libstat.tex b/Doc/lib/libstat.tex index 8f861d3..18bd1d7 100644 --- a/Doc/lib/libstat.tex +++ b/Doc/lib/libstat.tex @@ -1,6 +1,6 @@ % By Skip Montanaro -\section{Standard Module \sectcode{stat}} +\section{Standard Module \module{stat}} \stmodindex{stat} \label{module-stat} diff --git a/Doc/lib/libstdwin.tex b/Doc/lib/libstdwin.tex index fbccba9..ef3ff1c 100644 --- a/Doc/lib/libstdwin.tex +++ b/Doc/lib/libstdwin.tex @@ -14,7 +14,7 @@ of dialogs. For most platforms, alternative, native solutions exist under X11, Win32 for Windows and Windows NT, and a collection of native toolkit interfaces for the Macintosh. -\section{Built-in Module \sectcode{stdwin}} +\section{Built-in Module \module{stdwin}} \label{module-stdwin} \bimodindex{stdwin} @@ -32,7 +32,7 @@ by pairs of points. For a complete description of STDWIN please refer to the documentation of STDWIN for C programmers (aforementioned CWI report). -\subsection{Functions Defined in Module \sectcode{stdwin}} +\subsection{Functions Defined in Module \module{stdwin}} \nodename{STDWIN Functions} The following functions are defined in the \code{stdwin} module: @@ -775,7 +775,7 @@ def main(): main() \end{verbatim} % -\section{Standard Module \sectcode{stdwinevents}} +\section{Standard Module \module{stdwinevents}} \label{module-stdwinevents} \stmodindex{stdwinevents} @@ -790,7 +790,7 @@ Suggested usage is >>> \end{verbatim} % -\section{Standard Module \sectcode{rect}} +\section{Standard Module \module{rect}} \label{module-rect} \stmodindex{rect} diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex index c7889c9..6df547e 100644 --- a/Doc/lib/libstring.tex +++ b/Doc/lib/libstring.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{string}} +\section{Standard Module \module{string}} \label{module-string} \stmodindex{string} diff --git a/Doc/lib/libstrio.tex b/Doc/lib/libstrio.tex index cf96dbb..9449dc2 100644 --- a/Doc/lib/libstrio.tex +++ b/Doc/lib/libstrio.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{StringIO}} +\section{Standard Module \module{StringIO}} \label{module-StringIO} \stmodindex{StringIO} diff --git a/Doc/lib/libstruct.tex b/Doc/lib/libstruct.tex index b92076c..5703c05 100644 --- a/Doc/lib/libstruct.tex +++ b/Doc/lib/libstruct.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{struct}} +\section{Built-in Module \module{struct}} \label{module-struct} \bimodindex{struct} \indexii{C@\C{}}{structures} diff --git a/Doc/lib/libsymbol.tex b/Doc/lib/libsymbol.tex index bb103a3..0761405 100644 --- a/Doc/lib/libsymbol.tex +++ b/Doc/lib/libsymbol.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{symbol}} +\section{Standard Module \module{symbol}} \label{module-symbol} \stmodindex{symbol} diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 605a63c..1dac264 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{sys}} +\section{Built-in Module \module{sys}} \label{module-sys} \bimodindex{sys} diff --git a/Doc/lib/libsyslog.tex b/Doc/lib/libsyslog.tex index f748186..c4c6166 100644 --- a/Doc/lib/libsyslog.tex +++ b/Doc/lib/libsyslog.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{syslog}} +\section{Built-in Module \module{syslog}} \label{module-syslog} \bimodindex{syslog} diff --git a/Doc/lib/libtempfile.tex b/Doc/lib/libtempfile.tex index 7832aa2..d81084e 100644 --- a/Doc/lib/libtempfile.tex +++ b/Doc/lib/libtempfile.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{tempfile}} +\section{Standard Module \module{tempfile}} \label{module-tempfile} \stmodindex{tempfile} \indexii{temporary}{file name} diff --git a/Doc/lib/libtermios.tex b/Doc/lib/libtermios.tex index 05f7371..5e2ce1e 100644 --- a/Doc/lib/libtermios.tex +++ b/Doc/lib/libtermios.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{termios}} +\section{Built-in Module \module{termios}} \label{module-termios} \bimodindex{termios} \indexii{\POSIX{}}{I/O control} @@ -92,7 +92,7 @@ def getpass(prompt = "Password: "): return passwd \end{verbatim} -\section{Standard Module \sectcode{TERMIOS}} +\section{Standard Module \module{TERMIOS}} \label{module-TERMIOSuppercase} \stmodindex{TERMIOS} \indexii{\POSIX{}}{I/O control} diff --git a/Doc/lib/libthread.tex b/Doc/lib/libthread.tex index 1307619..9e9d8ba 100644 --- a/Doc/lib/libthread.tex +++ b/Doc/lib/libthread.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{thread}} +\section{Built-in Module \module{thread}} \label{module-thread} \bimodindex{thread} diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex index b8fe4c5..0f0ed01 100644 --- a/Doc/lib/libtime.tex +++ b/Doc/lib/libtime.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{time}} +\section{Built-in Module \module{time}} \label{module-time} \bimodindex{time} diff --git a/Doc/lib/libtoken.tex b/Doc/lib/libtoken.tex index deec2c6..15ab2a4 100644 --- a/Doc/lib/libtoken.tex +++ b/Doc/lib/libtoken.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{token}} +\section{Standard Module \module{token}} \label{module-token} \stmodindex{token} diff --git a/Doc/lib/libtraceback.tex b/Doc/lib/libtraceback.tex index dd4feb1..f9aa74a 100644 --- a/Doc/lib/libtraceback.tex +++ b/Doc/lib/libtraceback.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{traceback}} +\section{Standard Module \module{traceback}} \label{module-traceback} \stmodindex{traceback} diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex index 1732d85..8995798 100644 --- a/Doc/lib/liburllib.tex +++ b/Doc/lib/liburllib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{urllib}} +\section{Standard Module \module{urllib}} \label{module-urllib} \stmodindex{urllib} \index{WWW} diff --git a/Doc/lib/liburlparse.tex b/Doc/lib/liburlparse.tex index 41c66bf..3d98688 100644 --- a/Doc/lib/liburlparse.tex +++ b/Doc/lib/liburlparse.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{urlparse}} +\section{Standard Module \module{urlparse}} \label{module-urlparse} \stmodindex{urlparse} \index{WWW} diff --git a/Doc/lib/libuser.tex b/Doc/lib/libuser.tex index 2ed7f62..e545972 100644 --- a/Doc/lib/libuser.tex +++ b/Doc/lib/libuser.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{user}} +\section{Standard Module \module{user}} \label{module-user} \stmodindex{user} \indexii{.pythonrc.py}{file} diff --git a/Doc/lib/libuserdict.tex b/Doc/lib/libuserdict.tex index 0ec1f2a..321f94f 100644 --- a/Doc/lib/libuserdict.tex +++ b/Doc/lib/libuserdict.tex @@ -1,4 +1,4 @@ -\section{Standard Modules \sectcode{UserDict} and \sectcode{UserList}} +\section{Standard Modules \module{UserDict} and \module{UserList}} \nodename{UserDict and UserList} \stmodindex{UserDict} \stmodindex{UserList} diff --git a/Doc/lib/libuu.tex b/Doc/lib/libuu.tex index 82621b9..5c9e06c 100644 --- a/Doc/lib/libuu.tex +++ b/Doc/lib/libuu.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{uu}} +\section{Standard Module \module{uu}} \label{module-uu} \stmodindex{uu} diff --git a/Doc/lib/libwhichdb.tex b/Doc/lib/libwhichdb.tex index 5928126..2caace2 100644 --- a/Doc/lib/libwhichdb.tex +++ b/Doc/lib/libwhichdb.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{whichdb}} +\section{Standard Module \module{whichdb}} \label{module-whichdb} \stmodindex{whichdb} diff --git a/Doc/lib/libwhrandom.tex b/Doc/lib/libwhrandom.tex index b83e6ab..0645b6f 100644 --- a/Doc/lib/libwhrandom.tex +++ b/Doc/lib/libwhrandom.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{whrandom}} +\section{Standard Module \module{whrandom}} \label{module-whrandom} \stmodindex{whrandom} diff --git a/Doc/lib/libxdrlib.tex b/Doc/lib/libxdrlib.tex index d831682..cea50e0 100644 --- a/Doc/lib/libxdrlib.tex +++ b/Doc/lib/libxdrlib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{xdrlib}} +\section{Standard Module \module{xdrlib}} \label{module-xdrlib} \stmodindex{xdrlib} \index{XDR} diff --git a/Doc/libamoeba.tex b/Doc/libamoeba.tex index c4e61c0..0d3df2b 100644 --- a/Doc/libamoeba.tex +++ b/Doc/libamoeba.tex @@ -1,6 +1,6 @@ \chapter{Amoeba Specific Services} -\section{Built-in Module \sectcode{amoeba}} +\section{Built-in Module \module{amoeba}} \label{module-amoeba} \bimodindex{amoeba} diff --git a/Doc/libanydbm.tex b/Doc/libanydbm.tex index 1c46c61..2d3fe67 100644 --- a/Doc/libanydbm.tex +++ b/Doc/libanydbm.tex @@ -1,4 +1,4 @@ -\section{Standard Modules \sectcode{anydbm} and \sectcode{dumbdbm}} +\section{Standard Modules \module{anydbm} and \module{dumbdbm}} \label{module-anydbm} \label{module-dumbdbm} \stmodindex{anydbm} diff --git a/Doc/libarray.tex b/Doc/libarray.tex index 7ef0c53..19ba91d 100644 --- a/Doc/libarray.tex +++ b/Doc/libarray.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{array}} +\section{Built-in Module \module{array}} \label{module-array} \bimodindex{array} \index{arrays} diff --git a/Doc/libbastion.tex b/Doc/libbastion.tex index b5bec15..ddf6d9e 100644 --- a/Doc/libbastion.tex +++ b/Doc/libbastion.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{Bastion}} +\section{Standard Module \module{Bastion}} \label{module-Bastion} \stmodindex{Bastion} diff --git a/Doc/libbltin.tex b/Doc/libbltin.tex index 7413093..a4a0dd0 100644 --- a/Doc/libbltin.tex +++ b/Doc/libbltin.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{__builtin__}} +\section{Built-in Module \module{__builtin__}} \label{module-builtin} \bimodindex{__builtin__} diff --git a/Doc/libcmath.tex b/Doc/libcmath.tex index ae50743..adce12f 100644 --- a/Doc/libcmath.tex +++ b/Doc/libcmath.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{cmath}} +\section{Built-in Module \module{cmath}} \label{module-cmath} \bimodindex{cmath} diff --git a/Doc/libcode.tex b/Doc/libcode.tex index 4f360bf..023d276 100644 --- a/Doc/libcode.tex +++ b/Doc/libcode.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{code}} +\section{Standard Module \module{code}} \label{module-code} \stmodindex{code} diff --git a/Doc/libcopy.tex b/Doc/libcopy.tex index 1d1fd22..4e43585 100644 --- a/Doc/libcopy.tex +++ b/Doc/libcopy.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{copy}} +\section{Standard Module \module{copy}} \label{module-copy} \stmodindex{copy} \setindexsubitem{(copy function)} diff --git a/Doc/libcopyreg.tex b/Doc/libcopyreg.tex index 9816bc9..7dabf42 100644 --- a/Doc/libcopyreg.tex +++ b/Doc/libcopyreg.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{copy_reg}} +\section{Standard Module \module{copy_reg}} % Note that the label is a little off; the underscore causes LaTeX to % yell & scream. \label{module-copyreg} diff --git a/Doc/libcrypt.tex b/Doc/libcrypt.tex index bdcc7da..8e9a7d3 100644 --- a/Doc/libcrypt.tex +++ b/Doc/libcrypt.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{crypt}} +\section{Built-in Module \module{crypt}} \label{module-crypt} \bimodindex{crypt} diff --git a/Doc/libctb.tex b/Doc/libctb.tex index de0636d..d7302be 100644 --- a/Doc/libctb.tex +++ b/Doc/libctb.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{ctb}} +\section{Built-in Module \module{ctb}} \label{module-ctb} \bimodindex{ctb} diff --git a/Doc/libdbm.tex b/Doc/libdbm.tex index ac5343f..c4317fe 100644 --- a/Doc/libdbm.tex +++ b/Doc/libdbm.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{dbm}} +\section{Built-in Module \module{dbm}} \label{module-dbm} \bimodindex{dbm} diff --git a/Doc/liberrno.tex b/Doc/liberrno.tex index 28f68c5..40ab90d 100644 --- a/Doc/liberrno.tex +++ b/Doc/liberrno.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{errno}} +\section{Standard Module \module{errno}} \label{module-errno} \stmodindex{errno} diff --git a/Doc/libfcntl.tex b/Doc/libfcntl.tex index 6811008..1c64af9 100644 --- a/Doc/libfcntl.tex +++ b/Doc/libfcntl.tex @@ -1,5 +1,5 @@ % Manual text by Jaap Vermeulen -\section{Built-in Module \sectcode{fcntl}} +\section{Built-in Module \module{fcntl}} \label{module-fcntl} \bimodindex{fcntl} \indexii{UNIX@\UNIX{}}{file control} diff --git a/Doc/libfm.tex b/Doc/libfm.tex index bac5d39..abcbaa4 100644 --- a/Doc/libfm.tex +++ b/Doc/libfm.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{fm}} +\section{Built-in Module \module{fm}} \label{module-fm} \bimodindex{fm} diff --git a/Doc/libfnmatch.tex b/Doc/libfnmatch.tex index cb1684e..f2f82ba 100644 --- a/Doc/libfnmatch.tex +++ b/Doc/libfnmatch.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{fnmatch}} +\section{Standard Module \module{fnmatch}} \label{module-fnmatch} \stmodindex{fnmatch} diff --git a/Doc/libformatter.tex b/Doc/libformatter.tex index 25e68d6..6a97f80 100644 --- a/Doc/libformatter.tex +++ b/Doc/libformatter.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{formatter}} +\section{Standard Module \module{formatter}} \label{module-formatter} \stmodindex{formatter} diff --git a/Doc/libframework.tex b/Doc/libframework.tex index 6e77870..5bd2e2a 100644 --- a/Doc/libframework.tex +++ b/Doc/libframework.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{FrameWork}} +\section{Standard Module \module{FrameWork}} \stmodindex{FrameWork} \label{module-FrameWork} diff --git a/Doc/libgdbm.tex b/Doc/libgdbm.tex index 0761991..8f2d7d1 100644 --- a/Doc/libgdbm.tex +++ b/Doc/libgdbm.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{gdbm}} +\section{Built-in Module \module{gdbm}} \label{module-gdbm} \bimodindex{gdbm} diff --git a/Doc/libgetopt.tex b/Doc/libgetopt.tex index ff0461c..be00fef 100644 --- a/Doc/libgetopt.tex +++ b/Doc/libgetopt.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{getopt}} +\section{Standard Module \module{getopt}} \label{module-getopt} \stmodindex{getopt} diff --git a/Doc/libgl.tex b/Doc/libgl.tex index de429ac..abbaf10 100644 --- a/Doc/libgl.tex +++ b/Doc/libgl.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{gl}} +\section{Built-in Module \module{gl}} \label{module-gl} \bimodindex{gl} @@ -183,7 +183,7 @@ def main(): main() \end{verbatim} % -\section{Standard Modules \sectcode{GL} and \sectcode{DEVICE}} +\section{Standard Modules \module{GL} and \module{DEVICE}} \nodename{GL and DEVICE} \stmodindex{GL} \stmodindex{DEVICE} diff --git a/Doc/libglob.tex b/Doc/libglob.tex index 97d0ed5..6864c77 100644 --- a/Doc/libglob.tex +++ b/Doc/libglob.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{glob}} +\section{Standard Module \module{glob}} \label{module-glob} \stmodindex{glob} diff --git a/Doc/libgopherlib.tex b/Doc/libgopherlib.tex index d0c7d77..156d6d7 100644 --- a/Doc/libgopherlib.tex +++ b/Doc/libgopherlib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{gopherlib}} +\section{Standard Module \module{gopherlib}} \label{module-gopherlib} \stmodindex{gopherlib} \indexii{Gopher}{protocol} diff --git a/Doc/libgrp.tex b/Doc/libgrp.tex index da66800..551171b 100644 --- a/Doc/libgrp.tex +++ b/Doc/libgrp.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{grp}} +\section{Built-in Module \module{grp}} \label{module-grp} \bimodindex{grp} diff --git a/Doc/libgzip.tex b/Doc/libgzip.tex index a56e573..fd2bc28 100644 --- a/Doc/libgzip.tex +++ b/Doc/libgzip.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{gzip}} +\section{Standard Module \module{gzip}} \label{module-gzip} \stmodindex{gzip} diff --git a/Doc/libhtmllib.tex b/Doc/libhtmllib.tex index 7737845..c856b42 100644 --- a/Doc/libhtmllib.tex +++ b/Doc/libhtmllib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{htmllib}} +\section{Standard Module \module{htmllib}} \label{module-htmllib} \stmodindex{htmllib} \index{HTML} diff --git a/Doc/libimghdr.tex b/Doc/libimghdr.tex index bf1c0ef..d624f06 100644 --- a/Doc/libimghdr.tex +++ b/Doc/libimghdr.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{imghdr}} +\section{Standard Module \module{imghdr}} \label{module-imghdr} \stmodindex{imghdr} diff --git a/Doc/libimp.tex b/Doc/libimp.tex index 5664c81..7d4f8d1 100644 --- a/Doc/libimp.tex +++ b/Doc/libimp.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{imp}} +\section{Built-in Module \module{imp}} \label{module-imp} \bimodindex{imp} \index{import} diff --git a/Doc/libkeyword.tex b/Doc/libkeyword.tex index b4910a6..7a263ef 100644 --- a/Doc/libkeyword.tex +++ b/Doc/libkeyword.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{keyword}} +\section{Standard Module \module{keyword}} \label{module-keyword} \stmodindex{keyword} diff --git a/Doc/liblocale.tex b/Doc/liblocale.tex index 44059d1..1752790 100644 --- a/Doc/liblocale.tex +++ b/Doc/liblocale.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{locale}} +\section{Standard Module \module{locale}} \stmodindex{locale} \label{module-locale} diff --git a/Doc/libmac.tex b/Doc/libmac.tex index 987f290..54049a2 100644 --- a/Doc/libmac.tex +++ b/Doc/libmac.tex @@ -89,7 +89,7 @@ and the Standard File package. \end{description} -\section{Built-in Module \sectcode{mac}} +\section{Built-in Module \module{mac}} \label{module-mac} \bimodindex{mac} @@ -126,7 +126,7 @@ returns the same information as \function{stat()}, but with three extra values appended: the size of the resource fork of the file and its 4-char creator and type. -\section{Standard Module \sectcode{macpath}} +\section{Standard Module \module{macpath}} \label{module-macpath} \stmodindex{macpath} diff --git a/Doc/libmacconsole.tex b/Doc/libmacconsole.tex index beda8e3..0d1f350 100644 --- a/Doc/libmacconsole.tex +++ b/Doc/libmacconsole.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{macconsole}} +\section{Built-in Module \module{macconsole}} \label{module-macconsole} \bimodindex{macconsole} diff --git a/Doc/libmacdnr.tex b/Doc/libmacdnr.tex index 1df4a58..2aa07f5 100644 --- a/Doc/libmacdnr.tex +++ b/Doc/libmacdnr.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{macdnr}} +\section{Built-in Module \module{macdnr}} \label{module-macdnr} \bimodindex{macdnr} diff --git a/Doc/libmacfs.tex b/Doc/libmacfs.tex index 6bb4bbf..24e08ab 100644 --- a/Doc/libmacfs.tex +++ b/Doc/libmacfs.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{macfs}} +\section{Built-in Module \module{macfs}} \label{module-macfs} \bimodindex{macfs} diff --git a/Doc/libmacic.tex b/Doc/libmacic.tex index 7cd0557..36396c1 100644 --- a/Doc/libmacic.tex +++ b/Doc/libmacic.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{ic}} +\section{Standard Module \module{ic}} \label{module-ic} \bimodindex{ic} diff --git a/Doc/libmacos.tex b/Doc/libmacos.tex index 29233cd..e634772 100644 --- a/Doc/libmacos.tex +++ b/Doc/libmacos.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{MacOS}} +\section{Built-in Module \module{MacOS}} \label{module-MacOS} \bimodindex{MacOS} diff --git a/Doc/libmacostools.tex b/Doc/libmacostools.tex index 8475522..9586285 100644 --- a/Doc/libmacostools.tex +++ b/Doc/libmacostools.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{macostools}} +\section{Standard Module \module{macostools}} \label{module-macostools} \stmodindex{macostools} @@ -47,7 +47,7 @@ Note that the process of creating finder aliases is not specified in the Apple documentation. Hence, aliases created with \function{mkalias()} could conceivably have incompatible behaviour in some cases. -\section{Standard Module \sectcode{findertools}} +\section{Standard Module \module{findertools}} \label{module-findertools} \stmodindex{findertools} diff --git a/Doc/libmactcp.tex b/Doc/libmactcp.tex index 790c48e..b592247 100644 --- a/Doc/libmactcp.tex +++ b/Doc/libmactcp.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{mactcp}} +\section{Built-in Module \module{mactcp}} \label{module-mactcp} \bimodindex{mactcp} diff --git a/Doc/libmailbox.tex b/Doc/libmailbox.tex index e9dcb89..4ff2dedb 100644 --- a/Doc/libmailbox.tex +++ b/Doc/libmailbox.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{mailbox}} +\section{Standard Module \module{mailbox}} \label{module-mailbox} \stmodindex{mailbox} diff --git a/Doc/libmailcap.tex b/Doc/libmailcap.tex index 52e2ee4..0ea762a 100644 --- a/Doc/libmailcap.tex +++ b/Doc/libmailcap.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{mailcap}} +\section{Standard Module \module{mailcap}} \label{module-mailcap} \stmodindex{mailcap} diff --git a/Doc/libmain.tex b/Doc/libmain.tex index 8ce73a8..df1fbfb 100644 --- a/Doc/libmain.tex +++ b/Doc/libmain.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{__main__}} +\section{Built-in Module \module{__main__}} \label{module-main} \bimodindex{__main__} This module represents the (otherwise anonymous) scope in which the diff --git a/Doc/libmarshal.tex b/Doc/libmarshal.tex index a2a8084..5878cfa 100644 --- a/Doc/libmarshal.tex +++ b/Doc/libmarshal.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{marshal}} +\section{Built-in Module \module{marshal}} \label{module-marshal} \bimodindex{marshal} diff --git a/Doc/libmath.tex b/Doc/libmath.tex index 6cbf830..1cc6b20 100644 --- a/Doc/libmath.tex +++ b/Doc/libmath.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{math}} +\section{Built-in Module \module{math}} \label{module-math} \bimodindex{math} diff --git a/Doc/libmimify.tex b/Doc/libmimify.tex index 8ac73c2..366e940 100644 --- a/Doc/libmimify.tex +++ b/Doc/libmimify.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{mimify}} +\section{Standard Module \module{mimify}} \label{module-mimify} \stmodindex{mimify} diff --git a/Doc/libni.tex b/Doc/libni.tex index 8a251da..14ff395 100644 --- a/Doc/libni.tex +++ b/Doc/libni.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{ni}} +\section{Standard Module \module{ni}} \label{module-ni} \stmodindex{ni} diff --git a/Doc/liboperator.tex b/Doc/liboperator.tex index 812ca13..2169ea8 100644 --- a/Doc/liboperator.tex +++ b/Doc/liboperator.tex @@ -1,6 +1,6 @@ % Contributed by Skip Montanaro, from the module's doc strings. -\section{Built-in Module \sectcode{operator}} +\section{Built-in Module \module{operator}} \label{module-operator} \bimodindex{operator} diff --git a/Doc/libos.tex b/Doc/libos.tex index 953e117..810e40c 100644 --- a/Doc/libos.tex +++ b/Doc/libos.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{os}} +\section{Standard Module \module{os}} \label{module-os} \stmodindex{os} diff --git a/Doc/libpanel.tex b/Doc/libpanel.tex index 57b8e4f..3553808 100644 --- a/Doc/libpanel.tex +++ b/Doc/libpanel.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{panel}} +\section{Standard Module \module{panel}} \label{module-panel} \stmodindex{panel} @@ -29,7 +29,7 @@ before calling or \code{panel.defpanellist()}. -\section{Standard Module \sectcode{panelparser}} +\section{Standard Module \module{panelparser}} \label{module-panelparser} \stmodindex{panelparser} @@ -45,7 +45,7 @@ to Python strings and sub-expressions (recursively) to Python lists. For more details, read the module file. % XXXXJH should be funcdesc, I think -\section{Built-in Module \sectcode{pnl}} +\section{Built-in Module \module{pnl}} \label{module-pnl} \bimodindex{pnl} diff --git a/Doc/libparser.tex b/Doc/libparser.tex index 56e1931..7b3f6f6 100644 --- a/Doc/libparser.tex +++ b/Doc/libparser.tex @@ -9,7 +9,7 @@ % in any way. % -\section{Built-in Module \sectcode{parser}} +\section{Built-in Module \module{parser}} \label{module-parser} \bimodindex{parser} \index{parsing!Python source code} @@ -293,7 +293,7 @@ of the \function{compile()}\bifuncindex{compile} built-in function and the complex example shows the use of a parse tree for information discovery. -\subsubsection{Emulation of \sectcode{compile()}} +\subsubsection{Emulation of \module{compile()}} While many useful operations may take place between parsing and bytecode generation, the simplest operation is to do nothing. For diff --git a/Doc/libpickle.tex b/Doc/libpickle.tex index 3c1eaa6..038b763 100644 --- a/Doc/libpickle.tex +++ b/Doc/libpickle.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{pickle}} +\section{Standard Module \module{pickle}} \label{module-pickle} \stmodindex{pickle} \index{persistency} diff --git a/Doc/libposix.tex b/Doc/libposix.tex index 261c6aa..071cf56 100644 --- a/Doc/libposix.tex +++ b/Doc/libposix.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{posix}} +\section{Built-in Module \module{posix}} \label{module-posix} \bimodindex{posix} diff --git a/Doc/libposixfile.tex b/Doc/libposixfile.tex index 9ab584b..f3c5d98 100644 --- a/Doc/libposixfile.tex +++ b/Doc/libposixfile.tex @@ -1,5 +1,5 @@ % Manual text and implementation by Jaap Vermeulen -\section{Standard Module \sectcode{posixfile}} +\section{Standard Module \module{posixfile}} \label{module-posixfile} \bimodindex{posixfile} \indexii{\POSIX{}}{file object} diff --git a/Doc/libppath.tex b/Doc/libppath.tex index 6639c7c..86b5a34 100644 --- a/Doc/libppath.tex +++ b/Doc/libppath.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{posixpath}} +\section{Standard Module \module{posixpath}} \label{module-posixpath} \stmodindex{posixpath} diff --git a/Doc/libpprint.tex b/Doc/libpprint.tex index 6c499df..0ad1dc5 100644 --- a/Doc/libpprint.tex +++ b/Doc/libpprint.tex @@ -1,6 +1,6 @@ %% Author: Fred L. Drake, Jr. -\section{Standard Module \sectcode{pprint}} +\section{Standard Module \module{pprint}} \stmodindex{pprint} \label{module-pprint} diff --git a/Doc/libprofile.tex b/Doc/libprofile.tex index 174b51d..43d92c1 100644 --- a/Doc/libprofile.tex +++ b/Doc/libprofile.tex @@ -358,7 +358,7 @@ need to be combined with data in an existing \class{Stats} object, the \end{classdesc} -\subsection{The \sectcode{Stats} Class} +\subsection{The \module{Stats} Class} \setindexsubitem{(Stats method)} diff --git a/Doc/libpwd.tex b/Doc/libpwd.tex index 61de3fc..5275acd 100644 --- a/Doc/libpwd.tex +++ b/Doc/libpwd.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{pwd}} +\section{Built-in Module \module{pwd}} \label{module-pwd} \bimodindex{pwd} diff --git a/Doc/libqueue.tex b/Doc/libqueue.tex index db6cabc..680238d 100644 --- a/Doc/libqueue.tex +++ b/Doc/libqueue.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{Queue}} +\section{Standard Module \module{Queue}} \stmodindex{Queue} \label{module-Queue} diff --git a/Doc/librand.tex b/Doc/librand.tex index 3e19440..a48ea22 100644 --- a/Doc/librand.tex +++ b/Doc/librand.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{rand}} +\section{Standard Module \module{rand}} \label{module-rand} \stmodindex{rand} diff --git a/Doc/librandom.tex b/Doc/librandom.tex index 35271ba..fb62f8f 100644 --- a/Doc/librandom.tex +++ b/Doc/librandom.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{random}} +\section{Standard Module \module{random}} \label{module-random} \stmodindex{random} diff --git a/Doc/libre.tex b/Doc/libre.tex index 424ca9c..f04f4dc 100644 --- a/Doc/libre.tex +++ b/Doc/libre.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{re}} +\section{Built-in Module \module{re}} \label{module-re} \bimodindex{re} diff --git a/Doc/libregex.tex b/Doc/libregex.tex index 6582c72..0c216d2 100644 --- a/Doc/libregex.tex +++ b/Doc/libregex.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{regex}} +\section{Built-in Module \module{regex}} \label{module-regex} \bimodindex{regex} diff --git a/Doc/libregsub.tex b/Doc/libregsub.tex index 6ee873d..93c955e 100644 --- a/Doc/libregsub.tex +++ b/Doc/libregsub.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{regsub}} +\section{Standard Module \module{regsub}} \label{module-regsub} \stmodindex{regsub} diff --git a/Doc/libresource.tex b/Doc/libresource.tex index 7e7a288..b07240a 100644 --- a/Doc/libresource.tex +++ b/Doc/libresource.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{resource}} +\section{Built-in Module \module{resource}} \label{module-resource} \bimodindex{resource} diff --git a/Doc/librexec.tex b/Doc/librexec.tex index 03e8284..baddece 100644 --- a/Doc/librexec.tex +++ b/Doc/librexec.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{rexec}} +\section{Standard Module \module{rexec}} \label{module-rexec} \stmodindex{rexec} diff --git a/Doc/librfc822.tex b/Doc/librfc822.tex index bfc63c9..945aef2 100644 --- a/Doc/librfc822.tex +++ b/Doc/librfc822.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{rfc822}} +\section{Standard Module \module{rfc822}} \label{module-rfc822} \stmodindex{rfc822} diff --git a/Doc/libselect.tex b/Doc/libselect.tex index ba234ab..b7a8c85 100644 --- a/Doc/libselect.tex +++ b/Doc/libselect.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{select}} +\section{Built-in Module \module{select}} \label{module-select} \bimodindex{select} diff --git a/Doc/libsgmllib.tex b/Doc/libsgmllib.tex index f86e729..f086b4b 100644 --- a/Doc/libsgmllib.tex +++ b/Doc/libsgmllib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{sgmllib}} +\section{Standard Module \module{sgmllib}} \label{module-sgmllib} \stmodindex{sgmllib} \index{SGML} diff --git a/Doc/libshelve.tex b/Doc/libshelve.tex index 4349534..90afbc6 100644 --- a/Doc/libshelve.tex +++ b/Doc/libshelve.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{shelve}} +\section{Standard Module \module{shelve}} \label{module-shelve} \stmodindex{shelve} diff --git a/Doc/libsignal.tex b/Doc/libsignal.tex index 266454f..49eb62e 100644 --- a/Doc/libsignal.tex +++ b/Doc/libsignal.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{signal}} +\section{Built-in Module \module{signal}} \label{module-signal} \bimodindex{signal} diff --git a/Doc/libsite.tex b/Doc/libsite.tex index 3796801..5ddbe8a 100644 --- a/Doc/libsite.tex +++ b/Doc/libsite.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{site}} +\section{Standard Module \module{site}} \label{module-site} \stmodindex{site} diff --git a/Doc/libsocket.tex b/Doc/libsocket.tex index 030eb72..76d2b1a 100644 --- a/Doc/libsocket.tex +++ b/Doc/libsocket.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{socket}} +\section{Built-in Module \module{socket}} \label{module-socket} \bimodindex{socket} diff --git a/Doc/libsocksvr.tex b/Doc/libsocksvr.tex index 2ee36a4..8769c36 100644 --- a/Doc/libsocksvr.tex +++ b/Doc/libsocksvr.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{SocketServer}} +\section{Standard Module \module{SocketServer}} \label{module-SocketServer} \stmodindex{SocketServer} diff --git a/Doc/libsoundex.tex b/Doc/libsoundex.tex index 5ea1ad3..7d483ed 100644 --- a/Doc/libsoundex.tex +++ b/Doc/libsoundex.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{soundex}} +\section{Built-in Module \module{soundex}} \label{module-soundex} \bimodindex{soundex} diff --git a/Doc/libstat.tex b/Doc/libstat.tex index 8f861d3..18bd1d7 100644 --- a/Doc/libstat.tex +++ b/Doc/libstat.tex @@ -1,6 +1,6 @@ % By Skip Montanaro -\section{Standard Module \sectcode{stat}} +\section{Standard Module \module{stat}} \stmodindex{stat} \label{module-stat} diff --git a/Doc/libstdwin.tex b/Doc/libstdwin.tex index fbccba9..ef3ff1c 100644 --- a/Doc/libstdwin.tex +++ b/Doc/libstdwin.tex @@ -14,7 +14,7 @@ of dialogs. For most platforms, alternative, native solutions exist under X11, Win32 for Windows and Windows NT, and a collection of native toolkit interfaces for the Macintosh. -\section{Built-in Module \sectcode{stdwin}} +\section{Built-in Module \module{stdwin}} \label{module-stdwin} \bimodindex{stdwin} @@ -32,7 +32,7 @@ by pairs of points. For a complete description of STDWIN please refer to the documentation of STDWIN for C programmers (aforementioned CWI report). -\subsection{Functions Defined in Module \sectcode{stdwin}} +\subsection{Functions Defined in Module \module{stdwin}} \nodename{STDWIN Functions} The following functions are defined in the \code{stdwin} module: @@ -775,7 +775,7 @@ def main(): main() \end{verbatim} % -\section{Standard Module \sectcode{stdwinevents}} +\section{Standard Module \module{stdwinevents}} \label{module-stdwinevents} \stmodindex{stdwinevents} @@ -790,7 +790,7 @@ Suggested usage is >>> \end{verbatim} % -\section{Standard Module \sectcode{rect}} +\section{Standard Module \module{rect}} \label{module-rect} \stmodindex{rect} diff --git a/Doc/libstring.tex b/Doc/libstring.tex index c7889c9..6df547e 100644 --- a/Doc/libstring.tex +++ b/Doc/libstring.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{string}} +\section{Standard Module \module{string}} \label{module-string} \stmodindex{string} diff --git a/Doc/libstrio.tex b/Doc/libstrio.tex index cf96dbb..9449dc2 100644 --- a/Doc/libstrio.tex +++ b/Doc/libstrio.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{StringIO}} +\section{Standard Module \module{StringIO}} \label{module-StringIO} \stmodindex{StringIO} diff --git a/Doc/libstruct.tex b/Doc/libstruct.tex index b92076c..5703c05 100644 --- a/Doc/libstruct.tex +++ b/Doc/libstruct.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{struct}} +\section{Built-in Module \module{struct}} \label{module-struct} \bimodindex{struct} \indexii{C@\C{}}{structures} diff --git a/Doc/libsymbol.tex b/Doc/libsymbol.tex index bb103a3..0761405 100644 --- a/Doc/libsymbol.tex +++ b/Doc/libsymbol.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{symbol}} +\section{Standard Module \module{symbol}} \label{module-symbol} \stmodindex{symbol} diff --git a/Doc/libsys.tex b/Doc/libsys.tex index 605a63c..1dac264 100644 --- a/Doc/libsys.tex +++ b/Doc/libsys.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{sys}} +\section{Built-in Module \module{sys}} \label{module-sys} \bimodindex{sys} diff --git a/Doc/libsyslog.tex b/Doc/libsyslog.tex index f748186..c4c6166 100644 --- a/Doc/libsyslog.tex +++ b/Doc/libsyslog.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{syslog}} +\section{Built-in Module \module{syslog}} \label{module-syslog} \bimodindex{syslog} diff --git a/Doc/libtempfile.tex b/Doc/libtempfile.tex index 7832aa2..d81084e 100644 --- a/Doc/libtempfile.tex +++ b/Doc/libtempfile.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{tempfile}} +\section{Standard Module \module{tempfile}} \label{module-tempfile} \stmodindex{tempfile} \indexii{temporary}{file name} diff --git a/Doc/libtermios.tex b/Doc/libtermios.tex index 05f7371..5e2ce1e 100644 --- a/Doc/libtermios.tex +++ b/Doc/libtermios.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{termios}} +\section{Built-in Module \module{termios}} \label{module-termios} \bimodindex{termios} \indexii{\POSIX{}}{I/O control} @@ -92,7 +92,7 @@ def getpass(prompt = "Password: "): return passwd \end{verbatim} -\section{Standard Module \sectcode{TERMIOS}} +\section{Standard Module \module{TERMIOS}} \label{module-TERMIOSuppercase} \stmodindex{TERMIOS} \indexii{\POSIX{}}{I/O control} diff --git a/Doc/libthread.tex b/Doc/libthread.tex index 1307619..9e9d8ba 100644 --- a/Doc/libthread.tex +++ b/Doc/libthread.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{thread}} +\section{Built-in Module \module{thread}} \label{module-thread} \bimodindex{thread} diff --git a/Doc/libtime.tex b/Doc/libtime.tex index b8fe4c5..0f0ed01 100644 --- a/Doc/libtime.tex +++ b/Doc/libtime.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{time}} +\section{Built-in Module \module{time}} \label{module-time} \bimodindex{time} diff --git a/Doc/libtoken.tex b/Doc/libtoken.tex index deec2c6..15ab2a4 100644 --- a/Doc/libtoken.tex +++ b/Doc/libtoken.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{token}} +\section{Standard Module \module{token}} \label{module-token} \stmodindex{token} diff --git a/Doc/libtraceback.tex b/Doc/libtraceback.tex index dd4feb1..f9aa74a 100644 --- a/Doc/libtraceback.tex +++ b/Doc/libtraceback.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{traceback}} +\section{Standard Module \module{traceback}} \label{module-traceback} \stmodindex{traceback} diff --git a/Doc/liburllib.tex b/Doc/liburllib.tex index 1732d85..8995798 100644 --- a/Doc/liburllib.tex +++ b/Doc/liburllib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{urllib}} +\section{Standard Module \module{urllib}} \label{module-urllib} \stmodindex{urllib} \index{WWW} diff --git a/Doc/liburlparse.tex b/Doc/liburlparse.tex index 41c66bf..3d98688 100644 --- a/Doc/liburlparse.tex +++ b/Doc/liburlparse.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{urlparse}} +\section{Standard Module \module{urlparse}} \label{module-urlparse} \stmodindex{urlparse} \index{WWW} diff --git a/Doc/libuser.tex b/Doc/libuser.tex index 2ed7f62..e545972 100644 --- a/Doc/libuser.tex +++ b/Doc/libuser.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{user}} +\section{Standard Module \module{user}} \label{module-user} \stmodindex{user} \indexii{.pythonrc.py}{file} diff --git a/Doc/libuserdict.tex b/Doc/libuserdict.tex index 0ec1f2a..321f94f 100644 --- a/Doc/libuserdict.tex +++ b/Doc/libuserdict.tex @@ -1,4 +1,4 @@ -\section{Standard Modules \sectcode{UserDict} and \sectcode{UserList}} +\section{Standard Modules \module{UserDict} and \module{UserList}} \nodename{UserDict and UserList} \stmodindex{UserDict} \stmodindex{UserList} diff --git a/Doc/libuu.tex b/Doc/libuu.tex index 82621b9..5c9e06c 100644 --- a/Doc/libuu.tex +++ b/Doc/libuu.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{uu}} +\section{Standard Module \module{uu}} \label{module-uu} \stmodindex{uu} diff --git a/Doc/libwhichdb.tex b/Doc/libwhichdb.tex index 5928126..2caace2 100644 --- a/Doc/libwhichdb.tex +++ b/Doc/libwhichdb.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{whichdb}} +\section{Standard Module \module{whichdb}} \label{module-whichdb} \stmodindex{whichdb} diff --git a/Doc/libwhrandom.tex b/Doc/libwhrandom.tex index b83e6ab..0645b6f 100644 --- a/Doc/libwhrandom.tex +++ b/Doc/libwhrandom.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{whrandom}} +\section{Standard Module \module{whrandom}} \label{module-whrandom} \stmodindex{whrandom} diff --git a/Doc/libxdrlib.tex b/Doc/libxdrlib.tex index d831682..cea50e0 100644 --- a/Doc/libxdrlib.tex +++ b/Doc/libxdrlib.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{xdrlib}} +\section{Standard Module \module{xdrlib}} \label{module-xdrlib} \stmodindex{xdrlib} \index{XDR} diff --git a/Doc/mac/libctb.tex b/Doc/mac/libctb.tex index de0636d..d7302be 100644 --- a/Doc/mac/libctb.tex +++ b/Doc/mac/libctb.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{ctb}} +\section{Built-in Module \module{ctb}} \label{module-ctb} \bimodindex{ctb} diff --git a/Doc/mac/libframework.tex b/Doc/mac/libframework.tex index 6e77870..5bd2e2a 100644 --- a/Doc/mac/libframework.tex +++ b/Doc/mac/libframework.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{FrameWork}} +\section{Standard Module \module{FrameWork}} \stmodindex{FrameWork} \label{module-FrameWork} diff --git a/Doc/mac/libmac.tex b/Doc/mac/libmac.tex index 987f290..54049a2 100644 --- a/Doc/mac/libmac.tex +++ b/Doc/mac/libmac.tex @@ -89,7 +89,7 @@ and the Standard File package. \end{description} -\section{Built-in Module \sectcode{mac}} +\section{Built-in Module \module{mac}} \label{module-mac} \bimodindex{mac} @@ -126,7 +126,7 @@ returns the same information as \function{stat()}, but with three extra values appended: the size of the resource fork of the file and its 4-char creator and type. -\section{Standard Module \sectcode{macpath}} +\section{Standard Module \module{macpath}} \label{module-macpath} \stmodindex{macpath} diff --git a/Doc/mac/libmacconsole.tex b/Doc/mac/libmacconsole.tex index beda8e3..0d1f350 100644 --- a/Doc/mac/libmacconsole.tex +++ b/Doc/mac/libmacconsole.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{macconsole}} +\section{Built-in Module \module{macconsole}} \label{module-macconsole} \bimodindex{macconsole} diff --git a/Doc/mac/libmacdnr.tex b/Doc/mac/libmacdnr.tex index 1df4a58..2aa07f5 100644 --- a/Doc/mac/libmacdnr.tex +++ b/Doc/mac/libmacdnr.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{macdnr}} +\section{Built-in Module \module{macdnr}} \label{module-macdnr} \bimodindex{macdnr} diff --git a/Doc/mac/libmacfs.tex b/Doc/mac/libmacfs.tex index 6bb4bbf..24e08ab 100644 --- a/Doc/mac/libmacfs.tex +++ b/Doc/mac/libmacfs.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{macfs}} +\section{Built-in Module \module{macfs}} \label{module-macfs} \bimodindex{macfs} diff --git a/Doc/mac/libmacic.tex b/Doc/mac/libmacic.tex index 7cd0557..36396c1 100644 --- a/Doc/mac/libmacic.tex +++ b/Doc/mac/libmacic.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{ic}} +\section{Standard Module \module{ic}} \label{module-ic} \bimodindex{ic} diff --git a/Doc/mac/libmacos.tex b/Doc/mac/libmacos.tex index 29233cd..e634772 100644 --- a/Doc/mac/libmacos.tex +++ b/Doc/mac/libmacos.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{MacOS}} +\section{Built-in Module \module{MacOS}} \label{module-MacOS} \bimodindex{MacOS} diff --git a/Doc/mac/libmacostools.tex b/Doc/mac/libmacostools.tex index 8475522..9586285 100644 --- a/Doc/mac/libmacostools.tex +++ b/Doc/mac/libmacostools.tex @@ -1,4 +1,4 @@ -\section{Standard Module \sectcode{macostools}} +\section{Standard Module \module{macostools}} \label{module-macostools} \stmodindex{macostools} @@ -47,7 +47,7 @@ Note that the process of creating finder aliases is not specified in the Apple documentation. Hence, aliases created with \function{mkalias()} could conceivably have incompatible behaviour in some cases. -\section{Standard Module \sectcode{findertools}} +\section{Standard Module \module{findertools}} \label{module-findertools} \stmodindex{findertools} diff --git a/Doc/mac/libmactcp.tex b/Doc/mac/libmactcp.tex index 790c48e..b592247 100644 --- a/Doc/mac/libmactcp.tex +++ b/Doc/mac/libmactcp.tex @@ -1,4 +1,4 @@ -\section{Built-in Module \sectcode{mactcp}} +\section{Built-in Module \module{mactcp}} \label{module-mactcp} \bimodindex{mactcp} diff --git a/Doc/templates/howto.tex b/Doc/templates/howto.tex index c52c4f1..b6121a3 100644 --- a/Doc/templates/howto.tex +++ b/Doc/templates/howto.tex @@ -69,7 +69,7 @@ implements ActiveSprockets in Python. % The following is a model for such a reference section, for % an extension module written in C. -\section{Extension Module \sectcode{spamsprock}} +\section{Extension Module \module{spamsprock}} \exmodindex{spamsprock} % Set the module name for the index \label{module-spamsprock} % Create a label for cross-references @@ -104,7 +104,7 @@ not be performed. The default is to frobnicate randomly. % The following section is a model for documenting modules written in % Python. -\section{Module \sectcode{sprunkit}} +\section{Module \module{sprunkit}} \modindex{ezspam} \label{module-sprunkit} -- cgit v0.12