mirror of
https://github.com/python/cpython.git
synced 2025-10-29 20:51:26 +00:00
do_cmd_datalineni(): New function, to implement the non-indexing form
of \dataline.
This commit is contained in:
parent
6e277cf7de
commit
adb272ceee
1 changed files with 6 additions and 0 deletions
|
|
@ -773,6 +773,12 @@ sub do_cmd_dataline{
|
||||||
return "<dt><b>$idx</b><dd>" . $_;
|
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{
|
sub do_env_excdesc{
|
||||||
local($_) = @_;
|
local($_) = @_;
|
||||||
my $excname = next_argument();
|
my $excname = next_argument();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue