Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 14521:9fed4eebc586 legacy-trunk
\seetitle: New macro for building reference list content.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 12 Sep 2000 17:52:33 +0000 |
| parents | f78f287b3add |
| children | 219e00221c84 |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Tue Sep 12 16:23:48 2000 +0000 +++ b/Doc/texinputs/python.sty Tue Sep 12 17:52:33 2000 +0000 @@ -922,6 +922,17 @@ \end{fulllineitems} } } +% \seetitle[url]{title}{why it's interesting} +\newcommand{\py@seetitle}[3][\py@modulebadkey]{% + \par + \begin{fulllineitems} + \item[\citetitle{#2}] + \ifx\py@modulebadkey#1\else + \item[{\small{(\url{#1})}}] + \fi + #3 + \end{fulllineitems} +} % \seepep{number}{title}{why it's interesting} \newcommand{\py@seepep}[3]{% \par% @@ -951,7 +962,9 @@ \strong{See Also:}\par \def\seetext##1{\par{##1}} \let\seemodule=\py@seemodule + \let\seepep=\py@seepep \let\seerfc=\py@seerfc + \let\seetitle=\py@seetitle \let\seeurl=\py@seeurl }{\par}
