Ammar Askar added the comment: This isn't a bug, in fact this very behavior is documented within the string docs, please read the last paragraph here:
https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals ---------- nosy: +ammar2 title: Bug of python interpreter -> Trailing backslash in raw string format causes EOL _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27947> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com