A simple single line, triple-quoted comment is giving syntax error. Why?

Marko Rauhamaa marko at pacujo.net
Sun Mar 22 06:00:47 EDT 2015


Thomas 'PointedEars' Lahn <PointedEars at web.de>:

> | atom: ('(' [yield_expr|testlist_comp] ')' |
> |        '[' [testlist_comp] ']' |
> |        '{' [dictorsetmaker] '}' |
> |        NAME | NUMBER | STRING+ | '...' | 'None' | 'True' | 'False')
>
> [Chris Angelico wrote:]
>> Implicit concatenation is part of the syntax, not part of the
>> expression evaluator.
>
> Reads like nonsense to me.

The two of you are fighting over nothing. IOW, you aren't in
disagreement.


Marko



More information about the Python-list mailing list