From 085b8121eb04b6f563b23784f5761f579ed22b3d Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 21 Apr 1999 14:00:29 +0000 Subject: [PATCH] Fix some remaining index & consistency nits. (Many data member references were being omitted from the general index.) --- Doc/perl/python.perl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index f7bd48e694d..abd17e86f5c 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -261,7 +261,7 @@ sub do_cmd_platform{ my $platform = next_argument(); $ModulePlatforms{$THIS_MODULE} = $platform; $platform = "Macintosh" - if $platform eq "Mac"; + if $platform eq 'Mac'; return "\n

Availability: $platform.

\n" . $_; } @@ -733,9 +733,9 @@ sub do_env_memberdesc{ $class = $THIS_CLASS unless $class; my $extra = ''; - $extra = " ($class_name attribute)" - if (!($class eq '')); - my $idx = make_str_index_entry("$member$extra"); + $extra = " ($class attribute)" + if ($class ne ''); + my $idx = make_str_index_entry("$member$extra"); $idx =~ s/ \(.*\)//; $idx =~ s/\(\)//; return "
$idx\n
" . $_ . '
'; @@ -749,8 +749,8 @@ sub do_cmd_memberline{ $class = $THIS_CLASS unless $class; my $extra = ''; - $extra = " ($class_name attribute)" - if (!($class eq '')); + $extra = " ($class attribute)" + if ($class ne ''); my $idx = make_str_index_entry("$member$extra"); $idx =~ s/ \(.*\)//; $idx =~ s/\(\)//; @@ -761,7 +761,7 @@ sub do_env_memberdescni{ local($_) = @_; next_optional_argument(); my $member = next_argument(); - return "
$member\n
" . $_ . '
'; + return "
$member\n
" . $_ . '
'; } @@ -769,7 +769,7 @@ sub do_cmd_memberlineni{ local($_) = @_; next_optional_argument(); my $member = next_argument(); - return "
$member
" . $_; + return "
$member
" . $_; } @col_aligns = ("", "", "", "");