Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae25be2

Browse files
committed
{classdesc} environment: Index as "Foo (class in foolib)" instead of
"Foo (in module foolib)". Is now independent of indexsubitem.
1 parent 1a855fa commit ae25be2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/texinputs/python.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
\renewcommand{\@thisclass}{#1}%
382382
\begin{fulllineitems}%
383383
\item[\code{\bfcode{#1}(\varvars{#2})}]%
384-
\ttindex{#1}%
384+
\withsubitem{(class in \@thismodule)}{\ttindex{#1}}%
385385
\def\baseclasses##1{}%
386386
}{\end{fulllineitems}}
387387

0 commit comments

Comments
 (0)