From: Fred Drake Date: Thu, 2 Apr 1998 16:09:02 +0000 (+0000) Subject: Fix one remaining internal use of \code{} that could use the simpler form. X-Git-Tag: v1.5.1~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f14e2f8a0420f2eff5bd74a3fef3aa67c0e84359;p=python Fix one remaining internal use of \code{} that could use the simpler form. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 7eef0a7048..724fba7d6a 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}}