[Python-checkins] CVS: python/dist/src/Doc/perl python.perl,1.94,1.95

Fred L. Drake fdrake@users.sourceforge.net
2001年3月02日 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>');
 }
 

AltStyle によって変換されたページ (->オリジナル) /