[Python-Dev] Multiline with statement line continuation
ethan at stoneleaf.us
Fri Aug 15 23:03:40 CEST 2014
On 08/12/2014 08:38 PM, Steven D'Aprano wrote:
>  Technically not, since it's the comma, not the ( ), which makes a
> tuple, but a lot of people don't know that and treat it as if it the
> parens were compulsary.
It might as well be, because if there can be a non-tuple way to interpret the comma that way takes precedence, and then
the parens /are/ required to disambiguate and get the tuple you wanted.
More information about the Python-Dev