Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f14e2f8

Browse files
committed
Fix one remaining internal use of \code{} that could use the simpler form.
1 parent 9e9c89e commit f14e2f8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/texinputs/python.sty

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,10 +570,11 @@
570570
\index{#1@{\$#1}}% $
571571
\index{environment variables!{\$#1}}% $
572572
}
573+
\newcommand{\makevar}[1]{#1}
573574
\let\character=\samp
574575

575576
% constants defined in Python modules or C headers, not language constants:
576-
\let\constant=\code
577+
\let\constant=\sectcode
577578

578579
\newcommand{\manpage}[2]{{\emph{#1}(#2)}}
579580
\newcommand{\rfc}[1]{RFC #1\index{RFC!RFC #1}}

0 commit comments

Comments
 (0)