diff options
author | Fred Drake <fdrake@acm.org> | 2004-02-09 20:58:08 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-02-09 20:58:08 (GMT) |
commit | 52feb81932f729f487d3955878693496a3dee7ff (patch) | |
tree | a2119ee711622309e1b57d8e7dc9a37ac10a1363 /Doc/texinputs/python.sty | |
parent | fd0e494c988f6648abda4989190a9a8811f65537 (diff) | |
download | cpython-52feb81932f729f487d3955878693496a3dee7ff.zip cpython-52feb81932f729f487d3955878693496a3dee7ff.tar.gz cpython-52feb81932f729f487d3955878693496a3dee7ff.tar.bz2 |
support \e in \file and \filenq; this is useful for Windows paths
Diffstat (limited to 'Doc/texinputs/python.sty')
-rw-r--r-- | Doc/texinputs/python.sty | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 0e69587e..734ffa3 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: |