summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-04 04:19:20 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-04 04:19:20 (GMT)
commit10ad52e8af85d91929fb1df5cc24f1d84ecf7182 (patch)
tree7da1a0627a47b96996e635757e29926bb878faef /Doc
parent0a2eb138e729b9c93c97adf2149977a632e35423 (diff)
downloadcpython-10ad52e8af85d91929fb1df5cc24f1d84ecf7182.zip
cpython-10ad52e8af85d91929fb1df5cc24f1d84ecf7182.tar.gz
cpython-10ad52e8af85d91929fb1df5cc24f1d84ecf7182.tar.bz2
Minor cleanliness.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/perl/python.perl5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 7cec915..0d0fa77 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -58,12 +58,15 @@ sub do_cmd_varvars{
$_;
}
-sub do_cmd_pytype{
+sub use_current{
local($_) = @_;
s|$next_pair_pr_rx|\2|;
$_;
}
+sub do_cmd_pytype{ use_current(); }
+sub do_cmd_makevar{ use_current(); }
+
# Logical formatting (some based on texinfo), needs to be converted to
# minimalist HTML. The "minimalist" is primarily to reduce the size of
# output files for users that read them over the network rather than