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

Skip to content

Commit d64a40d

Browse files
committed
do_cmd_methodlineni(): New function, needed because the ref. manual now
actually uses this markup.
1 parent 9b134bf commit d64a40d

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
@@ -662,6 +662,15 @@ sub do_env_methoddesc{
662662
}
663663

664664

665+
sub do_cmd_methodlineni{
666+
local($_) = @_;
667+
next_optional_argument();
668+
my $method = next_argument();
669+
my $arg_list = next_argument();
670+
return "<dt><b>$method</b> (<var>$arg_list</var>)\n<dd>"
671+
. $_;
672+
}
673+
665674
sub do_env_methoddescni{
666675
local($_) = @_;
667676
next_optional_argument();

0 commit comments

Comments
 (0)