diff Doc/texinputs/python.sty @ 16118:64545c986b98 legacy-trunk

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.)
author Fred Drake <fdrake@acm.org>
date Mon, 22 Jan 2001 17:50:42 +0000
parents 9a17cdcd3320
children 38e17a089492
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Mon Jan 22 17:48:23 2001 +0000
+++ b/Doc/texinputs/python.sty	Mon Jan 22 17:50:42 2001 +0000
@@ -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}}