summaryrefslogtreecommitdiffstats
path: root/Doc/myformat.perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-11-11 20:51:09 (GMT)
committerFred Drake <fdrake@acm.org>1996-11-11 20:51:09 (GMT)
commit446402279921d96c3e98c6f59715827c5165be94 (patch)
treeebe888d748ff4ac3d6d762bc3fa9f63fb4f51905 /Doc/myformat.perl
parentb33021b5723465c8e212d339b8c0fa80dd54d248 (diff)
downloadcpython-446402279921d96c3e98c6f59715827c5165be94.zip
cpython-446402279921d96c3e98c6f59715827c5165be94.tar.gz
cpython-446402279921d96c3e98c6f59715827c5165be94.tar.bz2
(myformat.perl): Simplify generated HTML for "\optional{...}".
Diffstat (limited to 'Doc/myformat.perl')
-rw-r--r--Doc/myformat.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/myformat.perl b/Doc/myformat.perl
index b833ab7..5d0fb54 100644
--- a/Doc/myformat.perl
+++ b/Doc/myformat.perl
@@ -6,7 +6,7 @@
#
# XXX Not complete: \indexii etc.; \funcitem etc.
-package main;
+package main;
# \bcode and \ecode brackets around verbatim
@@ -28,7 +28,7 @@ sub do_cmd_e{ "\\" }
sub do_cmd_optional{
local($_) = @_;
- s/$any_next_pair_pr_rx/<BIG>\[<\/BIG><VAR>\2<\/VAR><BIG>\]<\/BIG>/;
+ s/$any_next_pair_pr_rx/<BIG>\[<\/BIG>\2<BIG>\]<\/BIG>/;
$_;
}