mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
(myformat.perl): Don't italicize the '[]' characters around optional
parameters.
This commit is contained in:
parent
dce22add1b
commit
0d58d44da1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue