From: Fred Drake Date: Wed, 26 Apr 2000 18:13:58 +0000 (+0000) Subject: Define \seerfc within the seealso environment. X-Git-Tag: v2.0b1~1931 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64b72b6f4f8ce2ca487f901588fe95f1625b8dbb;p=python Define \seerfc within the seealso environment. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index ce041b8c73..ded500d0eb 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -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}