From: Fred Drake Date: Wed, 9 May 2001 15:32:14 +0000 (+0000) Subject: Minor adjustments to HTML for the module synopsis tables. X-Git-Tag: v2.2a3~1874 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=caa79a9ee4b738bfa0295dcdbd67dfd2b48a1efd;p=thirdparty%2FPython%2Fcpython.git Minor adjustments to HTML for the module synopsis tables. --- diff --git a/Doc/perl/SynopsisTable.pm b/Doc/perl/SynopsisTable.pm index 6a03dd2866c3..9e528ab74730 100644 --- a/Doc/perl/SynopsisTable.pm +++ b/Doc/perl/SynopsisTable.pm @@ -52,14 +52,18 @@ sub show{ sub tohtml{ my $self = shift; - my $data = "\n"; + my $oddrow = 1; + my $data = "
\n"; my $name; foreach $name (split /,/, $self->{names}) { my($key,$type,$synopsis) = $self->get($name); my $link = ""; - $data .= (' ' + $data .= (' \n " : '>') . "\n" + . " \n" . " \n"); + $oddrow = !$oddrow; } $data .= "
$link$name$synopsis
\n"; $data;