summaryrefslogtreecommitdiffstats
path: root/Doc/myformat.perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-12-06 15:09:14 (GMT)
committerFred Drake <fdrake@acm.org>1996-12-06 15:09:14 (GMT)
commit0d58d44da11611f3af6e29337e58212184bc1eeb (patch)
treecebdde17620af5bd185f60315594173907e8072a /Doc/myformat.perl
parentdce22add1bede76f93ff54a7f3d0458ffc75d9c5 (diff)
downloadcpython-0d58d44da11611f3af6e29337e58212184bc1eeb.zip
cpython-0d58d44da11611f3af6e29337e58212184bc1eeb.tar.gz
cpython-0d58d44da11611f3af6e29337e58212184bc1eeb.tar.bz2
(myformat.perl): Don't italicize the '[]' characters around optional
parameters.
Diffstat (limited to 'Doc/myformat.perl')
-rw-r--r--Doc/myformat.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/myformat.perl b/Doc/myformat.perl
index 0887012..768cb21 100644
--- a/Doc/myformat.perl
+++ b/Doc/myformat.perl
@@ -26,7 +26,7 @@ sub do_cmd_e{ local($_) = @_; '&#92;' . $_; }
sub do_cmd_optional{
local($_) = @_;
- s/$any_next_pair_pr_rx/<BIG>\[<\/BIG>\2<BIG>\]<\/BIG>/;
+ s/$any_next_pair_pr_rx/<\/VAR><BIG>\[<\/BIG><VAR>\2<\/VAR><BIG>\]<\/BIG><VAR>/;
$_;
}