diff Doc/texinputs/python.sty @ 7696:d23bfe06175e legacy-trunk

{classdesc} environment: Index as "Foo (class in foolib)" instead of "Foo (in module foolib)". Is now independent of indexsubitem.
author Fred Drake <fdrake@acm.org>
date Mon, 16 Mar 1998 05:26:10 +0000
parents 8e6a58019887
children 55e3f891dbb5
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Mon Mar 16 05:23:50 1998 +0000
+++ b/Doc/texinputs/python.sty	Mon Mar 16 05:26:10 1998 +0000
@@ -381,7 +381,7 @@
   \renewcommand{\@thisclass}{#1}%
   \begin{fulllineitems}%
     \item[\code{\bfcode{#1}(\varvars{#2})}]%
-    \ttindex{#1}%
+    \withsubitem{(class in \@thismodule)}{\ttindex{#1}}%
     \def\baseclasses##1{}%
 }{\end{fulllineitems}}