diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index bfbffbef92a..e5e2d4fbc9d 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