summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/python.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 4a1967b..92c00c5 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -671,7 +671,7 @@ sub do_env_memberdesc{
$class = $THIS_CLASS
unless $class;
$extra = " ($class_name attribute)"
- if (!($class eq));
+ if (!($class eq ''));
my $idx = make_str_index_entry($3, "<tt>$member</tt>$extra");
$idx =~ s/ \(.*\)//;
$idx =~ s/\(\)//;