]> granicus.if.org Git - python/commit
\withsubitem{}: New macro. Change indexsubitem temporarily for another
authorFred Drake <fdrake@acm.org>
Thu, 12 Mar 1998 06:41:40 +0000 (06:41 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 12 Mar 1998 06:41:40 +0000 (06:41 +0000)
commit0ee9f727c9e4437d615f6f5877d9f0383d99e726
tree010183dad6d808c686e748b03c5227e9992292c3
parent6a1eefe53584fe33e1f8e39ad3f1f2ffa6d8536a
\withsubitem{}:  New macro.  Change indexsubitem temporarily for another
macro.  Intended usage:

\withsubitem{(in module foo)}{\ttindex{myfunc()}}

This allows indexing functions from other modules/class/whatnot
without being dependent on the exact expansions of several macros
internal to python.sty.  It's also easier to read in the source!

Some new "logical" macros that seem to be useful:

\regexp{}:  For regular expressions.  To make it easier to keep the appearance
consistent.

\mimetype{}:  Don't use \code{}!

\envvar{}:  Environment variable.  This does some indexing as well.

\character{}:  Just a character we want to talk about in the text, but not
a Python constant.
Doc/texinputs/python.sty