]> granicus.if.org Git - python/commitdiff
{classdesc} environment: Index as "Foo (class in foolib)" instead of
authorFred Drake <fdrake@acm.org>
Mon, 16 Mar 1998 05:26:10 +0000 (05:26 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 16 Mar 1998 05:26:10 +0000 (05:26 +0000)
"Foo (in module foolib)".  Is now independent of indexsubitem.

Doc/texinputs/python.sty

index 1608fa1a64b741c935876203a5180e07c374bf8a..3d19e46dd72b7b1bf1c870377b80c94b2e5d17cf 100644 (file)
   \renewcommand{\@thisclass}{#1}%
   \begin{fulllineitems}%
     \item[\code{\bfcode{#1}(\varvars{#2})}]%
-    \ttindex{#1}%
+    \withsubitem{(class in \@thismodule)}{\ttindex{#1}}%
     \def\baseclasses##1{}%
 }{\end{fulllineitems}}