[issue11793] raw strings

2011-04-07 Thread chaos
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: open title: raw strings type: compile error versions: Python 3.2

[issue11793] raw strings

2011-04-07 Thread chaos
chaos 846909...@qq.com added the comment: I think it should be print(r'\') \ print(r'\'') SyntaxError: EOL while scanning string literal -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11793

[issue11793] raw strings

2011-04-07 Thread chaos
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 \; #print print \; #error