]> granicus.if.org Git - python/commitdiff
(myformat.perl): Don't italicize the '[]' characters around optional
authorFred Drake <fdrake@acm.org>
Fri, 6 Dec 1996 15:09:14 +0000 (15:09 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 6 Dec 1996 15:09:14 +0000 (15:09 +0000)
parameters.

Doc/myformat.perl

index 08870128adef0c08172726c5001a4a2ea6c583ef..768cb21fe88028bdcba09308a8e85973bc9a20d9 100644 (file)
@@ -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>/;
        $_;
 }