A simple single line, triple-quoted comment is giving syntax error. Why?
Ian Kelly
ian.g.kelly at gmail.com
Thu Mar 26 21:38:53 EDT 2015
On Thu, Mar 26, 2015 at 5:15 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> Looks to me that the two string literals each get their own token, and are
> concatenated at a later stage of compilation, not during parsing.
Thanks. The dispute was about expressions, though. I think we're all
in agreement that there are two tokens.
More information about the Python-list
mailing list