summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-16 05:26:10 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-16 05:26:10 (GMT)
commitae25be2e4d1909b9d57afcb1fc3186097d8bb717 (patch)
treef4d2bde806e2703212279c876f76da127654171e
parent1a855fad30714439f26458ac3ac715790805ad0e (diff)
downloadcpython-ae25be2e4d1909b9d57afcb1fc3186097d8bb717.zip
cpython-ae25be2e4d1909b9d57afcb1fc3186097d8bb717.tar.gz
cpython-ae25be2e4d1909b9d57afcb1fc3186097d8bb717.tar.bz2
{classdesc} environment: Index as "Foo (class in foolib)" instead of
"Foo (in module foolib)". Is now independent of indexsubitem.
-rw-r--r--Doc/texinputs/python.sty2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 1608fa1..3d19e46 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}}