[Python-ideas] Parenthesized Compound With Statement
Andrew Barnert
abarnert at yahoo.com
Thu Jul 4 00:15:50 CEST 2013
On Jul 3, 2013, at 13:55, Ron Adam <ron3200 at gmail.com> wrote:
>> Wrong. For breaking expressions, it's almost always better to use
>> parentheses, even if you have to add them, because they can always be
>> added.
>
> Is there any time a '\' can't be added?
Well, If you want inline comments on each line. But I don't think this is a serious issue, because I can't think of a case where it's likely to happen that implicit continuation in parens doesn't already take care of. (For example, calling a builtin with 8 non-keyword params, you probably want a comment next to each argument, but the arguments are already in parens.)
More information about the Python-ideas
mailing list