diff Doc/texinputs/python.sty @ 12500:eb433efa24de legacy-trunk

Define \seerfc within the seealso environment.
author Fred Drake <fdrake@acm.org>
date Wed, 26 Apr 2000 18:13:58 +0000
parents 052fbd931492
children efd1e5d2284a
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Wed Apr 26 18:05:24 2000 +0000
+++ b/Doc/texinputs/python.sty	Wed Apr 26 18:13:58 2000 +0000
@@ -908,11 +908,20 @@
     \end{fulllineitems}
   }
 }
+% \seerfc{number}{title}{why it's interesting}
+\newcommand{\py@seerfc}[3]{%
+  \par%
+  \begin{fulllineitems}
+    \item[\rfc{#1}, ``\emph{#2}'']
+    #3
+  \end{fulllineitems}
+}
 \newenvironment{seealso}[0]{
   \par
   \strong{See Also:}\par
   \def\seetext##1{\par{##1}}
   \let\seemodule=\py@seemodule
+  \let\seerfc=\py@seerfc
 }{\par}