summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-26 18:13:58 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-26 18:13:58 (GMT)
commit64b72b6f4f8ce2ca487f901588fe95f1625b8dbb (patch)
tree3d65e55dd45f6f50b3e46094c6ebc0c2008d43e1 /Doc
parent37cc0c0e9f0f1e731c00c340587a1811ba1677ad (diff)
downloadcpython-64b72b6f4f8ce2ca487f901588fe95f1625b8dbb.zip
cpython-64b72b6f4f8ce2ca487f901588fe95f1625b8dbb.tar.gz
cpython-64b72b6f4f8ce2ca487f901588fe95f1625b8dbb.tar.bz2
Define \seerfc within the seealso environment.
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 ce041b8..ded500d 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}