From: Fred Drake Date: Thu, 10 Sep 1998 18:59:13 +0000 (+0000) Subject: do_cmd_methodlineni(): New function, needed because the ref. manual now X-Git-Tag: v1.5.2a2~308 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d64a40dbc0913313fda08e6332660ef2c603ba48;p=python do_cmd_methodlineni(): New function, needed because the ref. manual now actually uses this markup. --- diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 065f6026cc..9eaf36c873 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();