summaryrefslogtreecommitdiffstats
path: root/Doc/perl/python.perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-09 13:45:04 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-09 13:45:04 (GMT)
commitcb0fc9c2cef0b71d48cf92138fc130f87da7dd88 (patch)
tree7b4f3f12713d535467d097a8d0bd29d17f96036d /Doc/perl/python.perl
parent58100644763c172253925c1883ae43a69cfebae9 (diff)
downloadcpython-cb0fc9c2cef0b71d48cf92138fc130f87da7dd88.zip
cpython-cb0fc9c2cef0b71d48cf92138fc130f87da7dd88.tar.gz
cpython-cb0fc9c2cef0b71d48cf92138fc130f87da7dd88.tar.bz2
fix_font(): Handle one more case for the magical first column of tables.
Diffstat (limited to 'Doc/perl/python.perl')
-rw-r--r--Doc/perl/python.perl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index eb5c7c4..b1eb008 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -950,6 +950,9 @@ sub fix_font{
elsif ($font eq 'constant') {
$font = 'tt class="constant"';
}
+ elsif ($font eq 'kbd') {
+ $font = 'kbd';
+ }
return $font;
}