Continuing indentation

Ethan Furman ethan at stoneleaf.us
Wed Mar 2 17:51:42 EST 2016


On 03/02/2016 02:10 PM, Marko Rauhamaa wrote:
> Ethan Furman <ethan at stoneleaf.us>:
>
>> No, it isn't.  Using '\' for line continuation is strongly discouraged.
>
> Why would you discourage valid syntax?

1) It's ugly
2) Any non-newline whitespace after the '\' and you don't have line
    continuation any more, and no visible way to notice.

--
~Ethan~



More information about the Python-list mailing list