diff options
author | Fred Drake <fdrake@acm.org> | 2002-04-09 20:16:47 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-04-09 20:16:47 (GMT) |
commit | 19f827e76532dbd79272c4ae3a91a4b4857f6d4a (patch) | |
tree | 7feaf2d1a0d85f0823c17a64eaa324c6a12bf2d5 /Doc/texinputs | |
parent | 6b35370c6531147b35f5de43d193c39c69995a67 (diff) | |
download | cpython-19f827e76532dbd79272c4ae3a91a4b4857f6d4a.zip cpython-19f827e76532dbd79272c4ae3a91a4b4857f6d4a.tar.gz cpython-19f827e76532dbd79272c4ae3a91a4b4857f6d4a.tar.bz2 |
Add \csimplemacro to parallel the csimplemacrodesc environment.
Fix a typo in the comments for csimplemacrodesc.
Diffstat (limited to 'Doc/texinputs')
-rw-r--r-- | Doc/texinputs/python.sty | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index a83f794..41e081d 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -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 |