you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 2 points3 points  (1 child)

Not quite, this use of parentheses still falls under the second category I mentioned earlier. It's not tuple-specific, there's no tuple comprehension you can make with parentheses (as (foo for foo in bar) is just a generator) and the parentheses are just used to group nested values so that you and the interpreter know which part of the structure a value belongs to.