John Gordon <[email protected]>:
> In <[email protected]> Marko Rauhamaa
> <[email protected]> writes:
>
>> Ethan Furman <[email protected]>:
>
>> > No, it isn't. Using '\' for line continuation is strongly discouraged.
>
>> Why would you discourage valid syntax?
>
> Some things that are permissible may not be desirable.
Line continuations are such a central part of the syntax that it would
seem silly to deprecate them.
While it is true that
if a and \
b:
pass
is ugly,
if (a and
b):
pass
is even uglier.
Marko
--
https://mail.python.org/mailman/listinfo/python-list