Georg Brandl <[EMAIL PROTECTED]> added the comment:

The last quote starts another string literal, so this is valid Python:

"""A "test"""" B"

and results in a string 'A "test B'. The lexer cannot know whether the
second string literal is terminated or not, yielding valid or invalid code.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3298>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to