Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 22921:3c876ff29a83 legacy-trunk
Add \csimplemacro to parallel the csimplemacrodesc environment.
Fix a typo in the comments for csimplemacrodesc.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 09 Apr 2002 20:16:47 +0000 |
| parents | d778ea9de780 |
| children | d6322983069e |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Tue Apr 09 18:15:00 2002 +0000 +++ b/Doc/texinputs/python.sty Tue Apr 09 20:16:47 2002 +0000 @@ -613,7 +613,7 @@ }{\end{fulllineitems}} % Funky macros ----------------------------------------------------------- -% \begin{csimplemacro}{name} +% \begin{csimplemacrodesc}{name} % -- "simple" because it has no args; NOT for constant definitions! \newenvironment{csimplemacrodesc}[1]{ \begin{fulllineitems} @@ -787,6 +787,7 @@ \texttt{#1}}} \newcommand{\bfcode}[1]{\code{\bfseries#1}} % bold-faced code font +\newcommand{\csimplemacro}[1]{\code{#1}} \newcommand{\kbd}[1]{\code{#1}} \newcommand{\samp}[1]{`\code{#1}'} % This weird definition of \var{} allows it to always appear in roman
