[Python-checkins] CVS: python/dist/src/Doc/perl python.perl,1.94,1.95
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 02 Mar 2001 10:57:07 -0800
Update of /cvsroot/python/python/dist/src/Doc/perl
In directory usw-pr-cvs1:/tmp/cvs-serv27726/perl
Modified Files:
python.perl
Log Message:
Label classes and exceptions explicitly in the documentation (for their
*desc environments).
Index: python.perl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/python.perl,v
retrieving revision 1.94
retrieving revision 1.95
diff -C2 -r1.94 -r1.95
*** python.perl 2001/01/22 17:33:24 1.94
--- python.perl 2001/03/02 18:57:05 1.95
***************
*** 883,887 ****
my $excname = next_argument();
my $idx = make_str_index_entry("<tt class='exception'>$excname</tt>");
! return "<dl><dt><b>$idx</b>\n<dd>" . $_ . '</dl>'
}
--- 883,887 ----
my $excname = next_argument();
my $idx = make_str_index_entry("<tt class='exception'>$excname</tt>");
! return "<dl><dt><b>exception $idx</b>\n<dd>" . $_ . '</dl>'
}
***************
*** 896,900 ****
"<tt class='$what'>$THIS_CLASS</tt> ($what in $THIS_MODULE)" );
$idx =~ s/ \(.*\)//;
! return "<dl><dt><b>$idx</b> (<var>$arg_list</var>)\n<dd>" . $_ . '</dl>';
}
--- 896,902 ----
"<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>');
}