]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
do_cmd_funclineni(): New function; non-indexing form of \funcline.
authorFred Drake <fdrake@acm.org>
Mon, 12 Jul 1999 16:50:09 +0000 (16:50 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 12 Jul 1999 16:50:09 +0000 (16:50 +0000)
Doc/perl/python.perl

index 307944e5c5699c2187dfbca00f47d5925c68f06a..d42fe1d9108da695aa7fd9dfca469801fe0c6a32 100644 (file)
@@ -627,6 +627,15 @@ sub do_cmd_funcline{
     return "<dt><b>$prefix</b> (<var>$arg_list</var>)\n<dd>" . $_;
 }
 
+sub do_cmd_funclineni{
+    local($_) = @_;
+    my $function_name = next_argument();
+    my $arg_list = next_argument();
+    my $prefix = "<tt class=function>$function_name</tt>";
+
+    return "<dt><b>$prefix</b> (<var>$arg_list</var>)\n<dd>" . $_;
+}
+
 # Change this flag to index the opcode entries.  I don't think it's very
 # useful to index them, since they're only presented to describe the dis
 # module.