From: Fred Drake Date: Mon, 16 Mar 1998 05:26:10 +0000 (+0000) Subject: {classdesc} environment: Index as "Foo (class in foolib)" instead of X-Git-Tag: v1.5.1~358 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae25be2e4d1909b9d57afcb1fc3186097d8bb717;p=python {classdesc} environment: Index as "Foo (class in foolib)" instead of "Foo (in module foolib)". Is now independent of indexsubitem. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 1608fa1a64..3d19e46dd7 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -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}}