Reduce need of backslash

Mel Wilson mwilson at the-wire.com
Fri Sep 26 16:05:18 EDT 2003


In article <h4Ycb.75236$PD3.4793080 at nnrp1.uunet.ca>,
Nicolas Fleury <nid_oizo at yahoo.com_remove_the_> wrote:
>I was wondering if the need for \ could be reduce in the language.  For
>example, could a line ending with = or + could be automaticly considered
>incomplete?

   I've taken to exploiting brackets, that is, [], () and
{}.  Python won't let a line break break a bracketed
expression.

   Lately I'm not above throwing in extra pairs of
parentheses where I feel that escaped line breaks would
annoy me.

        Regards.        Mel.




More information about the Python-list mailing list