Mercurial > cpython-lru_cache-weakref
comparison Doc/texinputs/python.sty @ 7696:d23bfe06175e legacy-trunk
{classdesc} environment: Index as "Foo (class in foolib)" instead of
"Foo (in module foolib)". Is now independent of indexsubitem.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 16 Mar 1998 05:26:10 +0000 |
| parents | 8e6a58019887 |
| children | 55e3f891dbb5 |
comparison
equal
deleted
inserted
replaced
| 7695:1ced03671574 | 7696:d23bfe06175e |
|---|---|
| 379 | 379 |
| 380 \newenvironment{classdesc}[2]{% | 380 \newenvironment{classdesc}[2]{% |
| 381 \renewcommand{\@thisclass}{#1}% | 381 \renewcommand{\@thisclass}{#1}% |
| 382 \begin{fulllineitems}% | 382 \begin{fulllineitems}% |
| 383 \item[\code{\bfcode{#1}(\varvars{#2})}]% | 383 \item[\code{\bfcode{#1}(\varvars{#2})}]% |
| 384 \ttindex{#1}% | 384 \withsubitem{(class in \@thismodule)}{\ttindex{#1}}% |
| 385 \def\baseclasses##1{}% | 385 \def\baseclasses##1{}% |
| 386 }{\end{fulllineitems}} | 386 }{\end{fulllineitems}} |
| 387 | 387 |
| 388 \newenvironment{excdesc}[1]{% | 388 \newenvironment{excdesc}[1]{% |
| 389 \begin{fulllineitems}% | 389 \begin{fulllineitems}% |
