Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b3fb78

Browse files
committed
do_cmd_funclineni(): New function; non-indexing form of \funcline.
1 parent 6db897c commit 6b3fb78

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Doc/perl/python.perl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,15 @@ sub do_cmd_funcline{
627627
return "<dt><b>$prefix</b> (<var>$arg_list</var>)\n<dd>" . $_;
628628
}
629629

630+
sub do_cmd_funclineni{
631+
local($_) = @_;
632+
my $function_name = next_argument();
633+
my $arg_list = next_argument();
634+
my $prefix = "<tt class=function>$function_name</tt>";
635+
636+
return "<dt><b>$prefix</b> (<var>$arg_list</var>)\n<dd>" . $_;
637+
}
638+
630639
# Change this flag to index the opcode entries. I don't think it's very
631640
# useful to index them, since they're only presented to describe the dis
632641
# module.

0 commit comments

Comments
 (0)