diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 1608fa1a64b..3d19e46dd72 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}}