As far as I thought, the following should work, however I get:
Python 3.4.5 (default, Nov 9 2016, 16:24:59)
[GCC 4.8.5 20150623 (Red Hat X.X.X-XX)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> '\\'
'\\'
>>> '\'
File "<stdin>", line 1
'\'
^
SyntaxError: EOL while scanning string literal
Am I missing something?
I'm expecting '\\'
to return \
.