[issue31929] Raw strings create syntax error when last character is a single backslash

Barry A. Warsaw report at bugs.python.org
Thu Nov 2 17:33:20 EDT 2017


Barry A. Warsaw <barry at python.org> added the comment:

This is defined behavior, not a bug.  See the end of the section on string literals: https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals

----------
nosy: +barry
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31929>
_______________________________________


More information about the Python-bugs-list mailing list