diff Doc/texinputs/python.sty @ 12638:def959352422 legacy-trunk

Define \seeurl in the seealso environment. Two parameters: url, why.
author Fred Drake <fdrake@acm.org>
date Tue, 09 May 2000 16:18:44 +0000
parents efd1e5d2284a
children 79f8f6b963c2
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Tue May 09 16:17:51 2000 +0000
+++ b/Doc/texinputs/python.sty	Tue May 09 16:18:44 2000 +0000
@@ -922,12 +922,21 @@
     #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}