diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index abd17e86f5c..eb6dfdf4e21 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -589,10 +589,11 @@ sub do_cmd_funcline{ local($_) = @_; my $function_name = next_argument(); my $arg_list = next_argument(); - my $idx = make_str_index_entry("$function_name()" - . get_indexsubitem()); - $idx =~ s/\(\)//; - return "