[issue2816] Quote-type recognition bug
Robert Lehmann
report at bugs.python.org
Sun May 11 09:32:44 CEST 2008
Robert Lehmann <lehmannro at gmail.com> added the comment:
It seems "single-quoted" doesn't mean the actual quotation sign used but
rather how many you used. Compare the multiline triple quote syntax:
$ cat foo.py
"""bar
$ python foo.py
File "foo.py", line 3
^
SyntaxError: EOF while scanning triple-quoted string
This shouldn't read sextuple-quoted string, should it?
----------
nosy: +lehmannro
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2816>
__________________________________
More information about the Python-bugs-list
mailing list