]> granicus.if.org Git - python/commitdiff
do_cmd_methodlineni(): New function, needed because the ref. manual now
authorFred Drake <fdrake@acm.org>
Thu, 10 Sep 1998 18:59:13 +0000 (18:59 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 10 Sep 1998 18:59:13 +0000 (18:59 +0000)
actually uses this markup.

Doc/perl/python.perl

index 065f6026ccd3fa0f1a20c0718c3753672de73857..9eaf36c873c8e539952e318d5f1a2e6203e1ce6a 100644 (file)
@@ -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{
     local($_) = @_;
     next_optional_argument();