summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-07-01 14:49:25 (GMT)
committerFred Drake <fdrake@acm.org>1998-07-01 14:49:25 (GMT)
commit8e54abe92ea2d2a1d425babcfbf6963b4c2207de (patch)
tree873174d935d659c81ab8db90f598e8f7ff875802 /Doc/texinputs
parent3240dd2bc2f6b8a4dfd711e508e9795ae3b960cf (diff)
downloadcpython-8e54abe92ea2d2a1d425babcfbf6963b4c2207de.zip
cpython-8e54abe92ea2d2a1d425babcfbf6963b4c2207de.tar.gz
cpython-8e54abe92ea2d2a1d425babcfbf6963b4c2207de.tar.bz2
Fix the \kbd definition so it didn't leave the courier face on.
Diffstat (limited to 'Doc/texinputs')
-rw-r--r--Doc/texinputs/python.sty2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index bfbffbe..e5e2d4f 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -502,7 +502,7 @@
\texttt{#1}}}
\newcommand{\bfcode}[1]{\code{\bfseries#1}} % bold-faced code font
-\newcommand{\kbd}[1]{\tt #1}
+\newcommand{\kbd}[1]{\code{#1}}
\newcommand{\samp}[1]{`\code{#1}'}
% This weird definition of \var{} allows it to always appear in roman
% italics, and won't get funky in code fragments when we play around