3 ms·
Well I see what you mean but then again a comma looks very much like a period ... The advantage of this syntax is that : unambiguously introduces a key: value
by andreasvc 14y ago
Well I see what you mean but then again a comma looks very much like a period ...
The advantage of this syntax is that : unambiguously introduces a key: value pair, whereas (key, value) could also occur in a list comprehension (e.g., by accident).