Allowing comments after the line continuation backslash

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Nov 7 03:00:11 EST 2010


On Sun, 07 Nov 2010 19:33:52 +1300, Lawrence D'Oliveiro wrote:

>     for \
>         Description, Attr, ColorList \
>     in \
>         (
>             ("normal", "image", MainWindow.ColorsNormalList),
>             ("highlighted", "highlight",
>             MainWindow.ColorsHighlightedList), ("selected", "select",
>             MainWindow.ColorsSelectedList),
>         ) \
>     :
>        ...
>     #end for
> 
> Does this make more sense now?


No, it makes less sense, and is ugly too boot.



-- 
Steven




More information about the Python-list mailing list