python-minifier icon indicating copy to clipboard operation
python-minifier copied to clipboard

Unnecessary parentheses around assignment expressions in tuple

Open Cassy-Lee opened this issue 1 year ago • 0 comments

When I'm trying to minify the code below:

{(A:=1,B:=2)}

The minifier adds parentheses around the assignment expression, resulting in an increase of 2 bytes per assignment expressions:

{((A:=1),(B:=2))}

Cassy-Lee avatar May 08 '24 18:05 Cassy-Lee