]> granicus.if.org Git - python/commitdiff
Add \csimplemacro to parallel the csimplemacrodesc environment.
authorFred Drake <fdrake@acm.org>
Tue, 9 Apr 2002 20:16:47 +0000 (20:16 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 9 Apr 2002 20:16:47 +0000 (20:16 +0000)
Fix a typo in the comments for csimplemacrodesc.

Doc/texinputs/python.sty

index a83f794f076bf08046eadf67616a5339070f801f..41e081d99c32f4f6bf2816031defd43679e8ed2e 100644 (file)
 }{\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}
 \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