Commit ae9bc67e authored by Fred Drake's avatar Fred Drake

Don't append () to the name of an object attribute in the index.

parent 62502051
......@@ -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, "<tt>$member()</tt>$extra");
if (!($class eq));
my $idx = make_str_index_entry($3, "<tt>$member</tt>$extra");
$idx =~ s/ \(.*\)//;
$idx =~ s/\(\)//;
"<dl><dt><b>$idx</b>\n<dd>" . $_ . "</dl>";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment