summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs/python.sty
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-02 16:09:02 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-02 16:09:02 (GMT)
commitf14e2f8a0420f2eff5bd74a3fef3aa67c0e84359 (patch)
tree2be7c5db6b1e86713e468c84d6b0c7dd55d31e19 /Doc/texinputs/python.sty
parent9e9c89e67c3df758fdffb426c0cbefd50f559638 (diff)
downloadcpython-f14e2f8a0420f2eff5bd74a3fef3aa67c0e84359.zip
cpython-f14e2f8a0420f2eff5bd74a3fef3aa67c0e84359.tar.gz
cpython-f14e2f8a0420f2eff5bd74a3fef3aa67c0e84359.tar.bz2
Fix one remaining internal use of \code{} that could use the simpler form.
Diffstat (limited to 'Doc/texinputs/python.sty')
-rw-r--r--Doc/texinputs/python.sty3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 7eef0a7..724fba7 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -570,10 +570,11 @@
\index{#1@{\$#1}}% $
\index{environment variables!{\$#1}}% $
}
+\newcommand{\makevar}[1]{#1}
\let\character=\samp
% constants defined in Python modules or C headers, not language constants:
-\let\constant=\code
+\let\constant=\sectcode
\newcommand{\manpage}[2]{{\emph{#1}(#2)}}
\newcommand{\rfc}[1]{RFC #1\index{RFC!RFC #1}}