In python you can say this:
x = """""" # x = ''
Does the Python lexer see this as two triple quotes with nothing inside? I.e. along the lines of x = """ """
(with no space)?
This was my immediate thought. However, this is possible in python:
>>> "4" "5"
'45'
>>> # and
>>> "4""5"
'45'
So I can see that x = """"""
might also be lexed along the lines of x = "" "" ""
(with no spaces).
I'm just wondering, is """"""
lexed as two triple quotes or three pairs of normal quotes? Or something else entirely? Thanks!
EDIT: Obviously, it doesn't matter as a programmer in Python. However, the Python interpreter definitely must pick one of these and I'm wondering which.