summaryrefslogtreecommitdiff
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-02-09 20:58:08 +0000
committerFred Drake <fdrake@acm.org>2004-02-09 20:58:08 +0000
commit620b373521df00a11ef352ea777d03cdc1a44fd3 (patch)
tree6018c4e255663423059e6c476688d064ed538980 /Doc/texinputs
parent3cde99a60fa78518599073c768b5b1266473a2aa (diff)
downloadcpython-620b373521df00a11ef352ea777d03cdc1a44fd3.tar.gz
support \e in \file and \filenq; this is useful for Windows paths
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 0e69587ec8..734ffa30ee 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -849,7 +849,7 @@
\newcommand{\strong}[1]{{\bf #1}}
% let's experiment with a new font:
\newcommand{\file}[1]{`\filenq{#1}'}
-\newcommand{\filenq}[1]{{\py@smallsize\textsf{#1}}}
+\newcommand{\filenq}[1]{{\py@smallsize\textsf{\let\e=\textbackslash#1}}}
% Use this def/redef approach for \url{} since hyperref defined this already,
% but only if we actually used hyperref: