diff options
author | Fred Drake <fdrake@acm.org> | 2000-06-30 17:57:05 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-06-30 17:57:05 (GMT) |
commit | 46346ec14e28c6e22ee03a24d2312ba36e6bf3b7 (patch) | |
tree | 7ca5bb9af97c80b0a836a1a9f54e86a39ee9baed | |
parent | 25e1726d311d506b63de15b2b88a5e5fde0eda76 (diff) | |
download | cpython-46346ec14e28c6e22ee03a24d2312ba36e6bf3b7.zip cpython-46346ec14e28c6e22ee03a24d2312ba36e6bf3b7.tar.gz cpython-46346ec14e28c6e22ee03a24d2312ba36e6bf3b7.tar.bz2 |
Try to make sure \code always uses roman (non-italic) text.
Change a 1.6 version number used in a an example in a comment to 2.0.
-rw-r--r-- | Doc/texinputs/python.sty | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 6637956..eed9377 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -710,7 +710,7 @@ % Also for consistency: spell Python "Python", not "python"! % code is the most difficult one... -\newcommand{\code}[1]{{\@vobeyspaces\@noligs\def\{{\char`\{}\def\}{\char`\}}\def\~{\char`\~}\def\^{\char`\^}\def\e{\char`\\}\def\${\char`\$}\def\#{\char`\#}\def\&{\char`\&}\def\%{\char`\%}% +\newcommand{\code}[1]{\textrm{\@vobeyspaces\@noligs\def\{{\char`\{}\def\}{\char`\}}\def\~{\char`\~}\def\^{\char`\^}\def\e{\char`\\}\def\${\char`\$}\def\#{\char`\#}\def\&{\char`\&}\def\%{\char`\%}% \texttt{#1}}} \newcommand{\bfcode}[1]{\code{\bfseries#1}} % bold-faced code font @@ -838,7 +838,7 @@ % % Example: % \versionadded{1.5.2} -% \versionchanged[short explanation]{1.6} +% \versionchanged[short explanation]{2.0} % \newcommand{\versionadded}[1]{% { New in version #1. }} |