[Python-checkins] CVS: python/dist/src/Doc/perl python.perl,1.95,1.96
Fred L. Drake
fdrake@users.sourceforge.net
Thu, 29 Mar 2001 10:24:10 -0800
Update of /cvsroot/python/python/dist/src/Doc/perl
In directory usw-pr-cvs1:/tmp/cvs-serv20821/perl
Modified Files:
python.perl
Log Message:
Remove the spurious space of uncertain origin from the output for function,
method and constructor signatures. Suggested by Peter Funk on the Doc-SIG
mailing list.
Index: python.perl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/python.perl,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -r1.95 -r1.96
*** python.perl 2001/03/02 18:57:05 1.95
--- python.perl 2001/03/29 18:24:08 1.96
***************
*** 731,735 ****
. "\n</div>");
}
! return "<dl><dt>$return_type <b>$idx</b> (<var>$arg_list</var>)\n<dd>"
. $rcinfo
. $_
--- 731,735 ----
. "\n</div>");
}
! return "<dl><dt>$return_type <b>$idx</b>(<var>$arg_list</var>)\n<dd>"
. $rcinfo
. $_
***************
*** 786,790 ****
$idx =~ s/ \(.*\)//;
$idx =~ s/\(\)<\/tt>/<\/tt>/;
! return "<dl><dt><b>$idx</b> (<var>$arg_list</var>)\n<dd>" . $_ . '</dl>';
}
--- 786,790 ----
$idx =~ s/ \(.*\)//;
$idx =~ s/\(\)<\/tt>/<\/tt>/;
! return "<dl><dt><b>$idx</b>(<var>$arg_list</var>)\n<dd>" . $_ . '</dl>';
}
***************
*** 794,798 ****
my $arg_list = convert_args(next_argument());
return "<dl><dt><b><tt class='function'>$function_name</tt></b>"
! . " (<var>$arg_list</var>)\n"
. '<dd>'
. $_
--- 794,798 ----
my $arg_list = convert_args(next_argument());
return "<dl><dt><b><tt class='function'>$function_name</tt></b>"
! . "(<var>$arg_list</var>)\n"
. '<dd>'
. $_
***************
*** 808,812 ****
$prefix =~ s/\(\)//;
! return "<dt><b>$prefix</b> (<var>$arg_list</var>)\n<dd>" . $_;
}
--- 808,812 ----
$prefix =~ s/\(\)//;
! return "<dt><b>$prefix</b>(<var>$arg_list</var>)\n<dd>" . $_;
}
***************
*** 817,821 ****
my $prefix = "<tt class='function'>$function_name</tt>";
! return "<dt><b>$prefix</b> (<var>$arg_list</var>)\n<dd>" . $_;
}
--- 817,821 ----
my $prefix = "<tt class='function'>$function_name</tt>";
! return "<dt><b>$prefix</b>(<var>$arg_list</var>)\n<dd>" . $_;
}
***************
*** 896,900 ****
"<tt class='$what'>$THIS_CLASS</tt> ($what in $THIS_MODULE)" );
$idx =~ s/ \(.*\)//;
! return ("<dl><dt><b>$what $idx</b> (<var>$arg_list</var>)\n<dd>"
. $_
. '</dl>');
--- 896,900 ----
"<tt class='$what'>$THIS_CLASS</tt> ($what in $THIS_MODULE)" );
$idx =~ s/ \(.*\)//;
! return ("<dl><dt><b>$what $idx</b>(<var>$arg_list</var>)\n<dd>"
. $_
. '</dl>');
***************
*** 924,928 ****
$idx =~ s/ \(.*\)//;
$idx =~ s/\(\)//;
! return "<dl><dt><b>$idx</b> (<var>$arg_list</var>)\n<dd>" . $_ . '</dl>';
}
--- 924,928 ----
$idx =~ s/ \(.*\)//;
$idx =~ s/\(\)//;
! return "<dl><dt><b>$idx</b>(<var>$arg_list</var>)\n<dd>" . $_ . '</dl>';
}
***************
*** 942,946 ****
$idx =~ s/ \(.*\)//;
$idx =~ s/\(\)//;
! return "<dt><b>$idx</b> (<var>$arg_list</var>)\n<dd>"
. $_;
}
--- 942,946 ----
$idx =~ s/ \(.*\)//;
$idx =~ s/\(\)//;
! return "<dt><b>$idx</b>(<var>$arg_list</var>)\n<dd>"
. $_;
}
***************
*** 952,956 ****
my $method = next_argument();
my $arg_list = convert_args(next_argument());
! return "<dt><b>$method</b> (<var>$arg_list</var>)\n<dd>"
. $_;
}
--- 952,956 ----
my $method = next_argument();
my $arg_list = convert_args(next_argument());
! return "<dt><b>$method</b>(<var>$arg_list</var>)\n<dd>"
. $_;
}
***************
*** 961,965 ****
my $method = next_argument();
my $arg_list = convert_args(next_argument());
! return "<dl><dt><b>$method</b> (<var>$arg_list</var>)\n<dd>"
. $_
. '</dl>';
--- 961,965 ----
my $method = next_argument();
my $arg_list = convert_args(next_argument());
! return "<dl><dt><b>$method</b>(<var>$arg_list</var>)\n<dd>"
. $_
. '</dl>';