mirror of https://github.com/python/cpython
(myformat.perl): Simplify generated HTML for "\optional{...}".
This commit is contained in:
parent
b33021b572
commit
4464022799
|
@ -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>/;
|
||||
$_;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue