From f14e2f8a0420f2eff5bd74a3fef3aa67c0e84359 Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Thu, 2 Apr 1998 16:09:02 +0000
Subject: Fix one remaining internal use of \code{} that could use the simpler
 form.

---
 Doc/texinputs/python.sty | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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}}
-- 
cgit v0.12

