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

Skip to content

Commit adb272c

Browse files
committed
do_cmd_datalineni(): New function, to implement the non-indexing form
of \dataline.
1 parent 6e277cf commit adb272c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/perl/python.perl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,12 @@ sub do_cmd_dataline{
773773
return "<dt><b>$idx</b><dd>" . $_;
774774
}
775775

776+
sub do_cmd_datalineni{
777+
local($_) = @_;
778+
my $data_name = next_argument();
779+
return "<dt><b><tt>$data_name</tt></b><dd>" . $_;
780+
}
781+
776782
sub do_env_excdesc{
777783
local($_) = @_;
778784
my $excname = next_argument();

0 commit comments

Comments
 (0)