chaos <846909...@qq.com> added the comment:
Sorry for my poor english and thank you for the answer.
Since I'm a perler, I think this is counterintuitive.
(In perl:
print '\'; #print \
print '\''; #error
print &
chaos <846909...@qq.com> added the comment:
I think it should be
>>> print(r'\')
\
>>> print(r'\'')
SyntaxError: EOL while scanning string literal
>>>
--
New submission from chaos <846909...@qq.com>:
>>> print(r'\')
SyntaxError: EOL while scanning string literal
>>> print(r'\'')
\'
>>>
--
messages: 133199
nosy: chaos
priority: normal
severity: normal
status: o