mirror of https://github.com/python/cpython
(myformat.perl): Don't italicize the '[]' characters around optional
parameters.
This commit is contained in:
parent
dce22add1b
commit
0d58d44da1
|
@ -26,7 +26,7 @@ sub do_cmd_e{ local($_) = @_; '\' . $_; }
|
|||
|
||||
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>/;
|
||||
$_;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue