diff options
Diffstat (limited to 'Doc/perl/python.perl')
-rw-r--r-- | Doc/perl/python.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index e45712b..4a1967b 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, "<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>"; |