diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 065f6026ccd..9eaf36c873c 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -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 "
$method ($arg_list)\n
" + . $_; +} + sub do_env_methoddescni{ local($_) = @_; next_optional_argument();