◐ Shell
clean mode source ↗

Message 66608 - Python tracker

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?