Reputation: 48
Can anyone explain why this isn't just a syntax error?
$ python --version
Python 2.7.5
$ python
>>> 'a' + 'b' # string concatenation, as expected
'ab'
>>> 'a' 'b' # still string concatenation ?
'ab'
>>> "a"'b' # or even this ...
'ab'
>>> ""''""''""''""''""''"" # or this !?
''
I've googled and searched the python docs but haven't found anything related. Just a bug?
Upvotes: 0
Views: 239