From: Fred Drake Date: Sat, 4 Apr 1998 04:19:20 +0000 (+0000) Subject: Minor cleanliness. X-Git-Tag: v1.5.1~196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10ad52e8af85d91929fb1df5cc24f1d84ecf7182;p=python Minor cleanliness. --- diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 7cec9157ae..0d0fa77381 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