mirror of https://github.com/python/cpython
Generate the right annotations in the index entries.
Thanks to Thomas Heller for the sharp eye.
This commit is contained in:
parent
6b3cc524c0
commit
0157276cf8
|
@ -945,7 +945,7 @@ sub do_cmd_cmemberline{
|
|||
my $type = next_argument();
|
||||
my $name = next_argument();
|
||||
my $idx = make_str_index_entry("<tt class=\"cmember\">$name</tt>"
|
||||
. " ($type member)");
|
||||
. " ($container member)");
|
||||
$idx =~ s/ \(.*\)//;
|
||||
return "<dt>$type <b>$idx</b>\n<dd>"
|
||||
. $_;
|
||||
|
@ -956,7 +956,7 @@ sub do_env_cmemberdesc{
|
|||
my $type = next_argument();
|
||||
my $name = next_argument();
|
||||
my $idx = make_str_index_entry("<tt class=\"cmember\">$name</tt>"
|
||||
. " ($type member)");
|
||||
. " ($container member)");
|
||||
$idx =~ s/ \(.*\)//;
|
||||
return "<dl><dt>$type <b>$idx</b>\n<dd>"
|
||||
. $_
|
||||
|
|
Loading…
Reference in New Issue