mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
do_cmd_funclineni(): New function; non-indexing form of \funcline.
This commit is contained in:
parent
6db897c52c
commit
6b3fb78ca8
1 changed files with 9 additions and 0 deletions
|
@ -627,6 +627,15 @@ sub do_cmd_funcline{
|
|||
return "<dt><b>$prefix</b> (<var>$arg_list</var>)\n<dd>" . $_;
|
||||
}
|
||||
|
||||
sub do_cmd_funclineni{
|
||||
local($_) = @_;
|
||||
my $function_name = next_argument();
|
||||
my $arg_list = next_argument();
|
||||
my $prefix = "<tt class=function>$function_name</tt>";
|
||||
|
||||
return "<dt><b>$prefix</b> (<var>$arg_list</var>)\n<dd>" . $_;
|
||||
}
|
||||
|
||||
# Change this flag to index the opcode entries. I don't think it's very
|
||||
# useful to index them, since they're only presented to describe the dis
|
||||
# module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue