summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-05-09 16:18:44 +0000
committerFred Drake <fdrake@acm.org>2000-05-09 16:18:44 +0000
commit09e44bad2833851e3f6d2f786bca4b3ea686f432 (patch)
tree96384d97fc368aa0ab6a84894ea7be8e5997a347 /Doc
parentc7733ef2b68b94d3209298adf9b2fcdc45d6df26 (diff)
downloadcpython-09e44bad2833851e3f6d2f786bca4b3ea686f432.tar.gz
Define \seeurl in the seealso environment. Two parameters: url, why.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/texinputs/python.sty9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index c2a66d6a20..6637956238 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -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}