Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 7786:6adf917ee773 legacy-trunk
Fix one remaining internal use of \code{} that could use the simpler form.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 02 Apr 1998 16:09:02 +0000 |
| parents | b17d200edf62 |
| children | 8d4148213cc0 |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Thu Apr 02 15:53:07 1998 +0000 +++ b/Doc/texinputs/python.sty Thu Apr 02 16:09:02 1998 +0000 @@ -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}}
