From d37cecfda4b647df3ad25da64e4fbfcb28b19891 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 23 Sep 1999 16:45:08 +0000 Subject: Remove some elements that were used only to carry a CLASS attribute; stick the CLASS on an existing element. --- Doc/perl/python.perl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index b0213a4..718734e 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -187,8 +187,7 @@ sub do_cmd_refmodule{ sub do_cmd_newsgroup{ local($_) = @_; my $newsgroup = next_argument(); - my $stuff = "" - . "$newsgroup"; + my $stuff = "$newsgroup"; return $stuff . $_; } @@ -201,7 +200,8 @@ sub do_cmd_envvar{ add_index_entry("environment variables!$envvar@\$$envvar", $ahref); add_index_entry("$envvar@\$$envvar", $ahref); - return "$aname\$$envvar" . $_; + $aname =~ s/" . $_; } sub do_cmd_url{ @@ -209,7 +209,7 @@ sub do_cmd_url{ local($_) = @_; my $url = next_argument(); $url =~ s/~/~/g; - return "$url" . $_; + return "$url" . $_; } sub do_cmd_manpage{ -- cgit v0.12