From: Fred Drake Date: Sun, 12 Apr 1998 03:49:46 +0000 (+0000) Subject: Don't append () to the name of an object attribute in the index. X-Git-Tag: v1.5.1~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae9bc67e0e563008804253fabcc97b72ad6a251c;p=python Don't append () to the name of an object attribute in the index. --- diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index e45712b57f..4a1967b74b 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -671,8 +671,8 @@ sub do_env_memberdesc{ $class = $THIS_CLASS unless $class; $extra = " ($class_name attribute)" - if $class; - my $idx = make_str_index_entry($3, "$member()$extra"); + if (!($class eq)); + my $idx = make_str_index_entry($3, "$member$extra"); $idx =~ s/ \(.*\)//; $idx =~ s/\(\)//; "
$idx\n
" . $_ . "
";