Re:Performance Analysis of Python's Dict() and {}
by lifthrasiir on Tuesday January 23, 2024 @11:07PM
(#39113504)
The assignment operator `=` can never appear in a valid Python expression, so `{a=3, b=2}` should be distinguishable from `{a: 3, b: 2}`. (So does JS, where `{[a]: 3, [b]: 2}` would evaluate a and b.)
[ Parent
| on HN ]
There are no comments on this comment yet.