Allowing comments after the line continuation backslash

Yingjie Lan lanyjie at yahoo.com
Mon Nov 1 07:13:19 CET 2010


Hi,

Sorry if I am baking too many ideas today.
I am just having trouble with the backslashes....

I would like to have comments after the line continuation backslash.

>>> if a > 0 \ #comments for this condition
      and b > 0:
    #do something here

This is currently not OK, but this might be a good thing to have.

Yingjie


      



More information about the Python-list mailing list