John Gordon <gor...@panix.com>:

> In <871t7sbkex....@elektro.pacujo.net> Marko Rauhamaa
> <ma...@pacujo.net> writes:
>
>> Ethan Furman <et...@stoneleaf.us>:
>
>> > 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

Reply via email to