]> granicus.if.org Git - python/commitdiff
Define \seeurl in the seealso environment. Two parameters: url, why.
authorFred Drake <fdrake@acm.org>
Tue, 9 May 2000 16:18:44 +0000 (16:18 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 9 May 2000 16:18:44 +0000 (16:18 +0000)
Doc/texinputs/python.sty

index c2a66d6a20138f3dcfbfecbcf6d24bcf15e97a6d..663795623822a91a1936a5349171171ccef867d2 100644 (file)
     #3
   \end{fulllineitems}
 }
+% \seeurl{url}{why it's interesting}
+\newcommand{\py@seeurl}[2]{%
+  \par%
+  \begin{fulllineitems}
+    \item[\url{#1}]
+    #2
+  \end{fulllineitems}
+}
 \newenvironment{seealso}[0]{
   \par
   \strong{See Also:}\par
   \def\seetext##1{\par{##1}}
   \let\seemodule=\py@seemodule
   \let\seerfc=\py@seerfc
+  \let\seeurl=\py@seeurl
 }{\par}