]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use the same names for CLASS attributes as elsewhere.
authorFred Drake <fdrake@acm.org>
Mon, 12 Jul 1999 16:28:50 +0000 (16:28 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 12 Jul 1999 16:28:50 +0000 (16:28 +0000)
Doc/perl/SynopsisTable.pm

index c4dc0ddf39808970c2e95d62087daa5569ee7760..e12f2e7744e51f2ac47ca25e6d1c7b1f39672fa9 100644 (file)
@@ -38,13 +38,14 @@ sub show{
 
 sub tohtml{
     my $self = shift;
-    my $data = "<table>\n";
+    my $data = "<table class=\"synopsistable\">\n";
     my $name;
     foreach $name (split /,/, $self->{names}) {
        my($key,$type,$synopsis) = $self->get($name);
        my $link = "<a href=\"module-$key.html\">";
-       $data .= ("  <tr><td><b><tt>$link$name</a></tt></b></td>\n"
-                 . "      <td>$synopsis</td></tr>\n");
+       $data .= ("  <tr>"
+                 . "<td><b><tt class=module>$link$name</a></tt></b></td>\n"
+                 . "      <td class=synopsis>$synopsis</td></tr>\n");
     }
     $data .= "</table>\n";
     $data;