mirror of https://github.com/python/cpython.git
do_cmd_methodlineni(): New function, needed because the ref. manual now
actually uses this markup.
This commit is contained in:
parent
9b134bf716
commit
d64a40dbc0
|
@ -662,6 +662,15 @@ sub do_env_methoddesc{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub do_cmd_methodlineni{
|
||||||
|
local($_) = @_;
|
||||||
|
next_optional_argument();
|
||||||
|
my $method = next_argument();
|
||||||
|
my $arg_list = next_argument();
|
||||||
|
return "<dt><b>$method</b> (<var>$arg_list</var>)\n<dd>"
|
||||||
|
. $_;
|
||||||
|
}
|
||||||
|
|
||||||
sub do_env_methoddescni{
|
sub do_env_methoddescni{
|
||||||
local($_) = @_;
|
local($_) = @_;
|
||||||
next_optional_argument();
|
next_optional_argument();
|
||||||
|
|
Loading…
Reference in New Issue