summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-25 16:15:13 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-25 16:15:13 (GMT)
commitd04592a46bc2fae49299ef6cf996cc553cbbad2c (patch)
tree6c10a200e98f66076d3a57061ffec7dc476d60c2
parente4359952c089edbeaecc424b0f66930a97050999 (diff)
downloadcpython-d04592a46bc2fae49299ef6cf996cc553cbbad2c.zip
cpython-d04592a46bc2fae49299ef6cf996cc553cbbad2c.tar.gz
cpython-d04592a46bc2fae49299ef6cf996cc553cbbad2c.tar.bz2
Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number for
whatever is being documented, not necessarily Python. (These tools are also used for the How-To documents, etc.)
-rw-r--r--Doc/perl/python.perl13
1 files changed, 8 insertions, 5 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 476ef66..0066703 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -103,13 +103,13 @@ sub do_cmd_e{ '&#92;' . @_[0]; }
$DEVELOPER_ADDRESS = '';
$SHORT_VERSION = '';
-$PYTHON_VERSION = '';
+$PACKAGE_VERSION = '';
-sub do_cmd_version{ $PYTHON_VERSION . @_[0]; }
+sub do_cmd_version{ $PACKAGE_VERSION . @_[0]; }
sub do_cmd_shortversion{ $SHORT_VERSION . @_[0]; }
sub do_cmd_release{
local($_) = @_;
- $PYTHON_VERSION = next_argument();
+ $PACKAGE_VERSION = next_argument();
return $_;
}
@@ -1024,6 +1024,9 @@ sub fix_font{
elsif ($font eq 'kbd') {
$font = 'kbd';
}
+ elsif ($font eq 'programopt') {
+ $font = 'b';
+ }
return $font;
}
@@ -1270,8 +1273,8 @@ sub make_my_titlepage() {
}
if ($t_date) {
$the_title .= "\n<p><strong>$t_date</strong>";
- if ($PYTHON_VERSION) {
- $the_title .= "<br><strong>Release $PYTHON_VERSION</strong>";
+ if ($PACKAGE_VERSION) {
+ $the_title .= "<br><strong>Release $PACKAGE_VERSION</strong>";
}
$the_title .= "</p>"
}