mirror of
https://github.com/python/cpython.git
synced 2024-11-26 03:14:27 +08:00
do_cmd_datalineni(): New function, to implement the non-indexing form
of \dataline.
This commit is contained in:
parent
6e277cf7de
commit
adb272ceee
@ -773,6 +773,12 @@ sub do_cmd_dataline{
|
||||
return "<dt><b>$idx</b><dd>" . $_;
|
||||
}
|
||||
|
||||
sub do_cmd_datalineni{
|
||||
local($_) = @_;
|
||||
my $data_name = next_argument();
|
||||
return "<dt><b><tt>$data_name</tt></b><dd>" . $_;
|
||||
}
|
||||
|
||||
sub do_env_excdesc{
|
||||
local($_) = @_;
|
||||
my $excname = next_argument();
|
||||
|
Loading…
Reference in New Issue
Block a user