Including a backslash at the end of a raw triple quoted string fails

后端 未结 0 1191
说谎
说谎 2021-01-23 08:09

The below fails with syntax error:

chars = r\'\'\'|\'*+[]".?!-/,{}()&%$_;:#@=`~<>^\\\'\'\'
# SyntaxError: EOF while scanning triple-quoted string l         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题