summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-01-22 17:50:42 (GMT)
committerFred Drake <fdrake@acm.org>2001-01-22 17:50:42 (GMT)
commit31ab298df665e949fdafe388f5933338bc8c1e73 (patch)
tree902032f2e010ffdb19e85aee308dfb8ac0d31e04 /Doc
parent0a8690a0adaf2ca3ffbdc378a7ef999f964b4d31 (diff)
downloadcpython-31ab298df665e949fdafe388f5933338bc8c1e73.zip
cpython-31ab298df665e949fdafe388f5933338bc8c1e73.tar.gz
cpython-31ab298df665e949fdafe388f5933338bc8c1e73.tar.bz2
Remove the dollar sign from the formatting of environment variables --
too Unix-specific, and not really needed. (Already fixed the HTML formatting, but forgot to mention it in the checkin for python.perl 1.94.)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/texinputs/python.sty6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index b4b6aea..9aa6700 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -805,9 +805,9 @@
$\!\rfloor\!$%
}}
\newcommand{\envvar}[1]{%
- \$#1% $ <-- bow to font-lock 3 times!
- \index{#1@{\$#1}}% $
- \index{environment variables!{\$#1}}% $
+ #1%
+ \index{#1@{#1}}%
+ \index{environment variables!{#1}}%
}
\newcommand{\makevar}[1]{#1} % variable in a Makefile
\newcommand{\character}[1]{\samp{#1}}