[Python-ideas] Make undefined escape sequences have SyntaxWarnings

Yuval Greenfield ubershmekel at gmail.com
Thu Oct 11 12:31:14 CEST 2012


http://docs.python.org/release/3.3.0/reference/lexical_analysis.html#string-and-bytes-literals

I'm not sure I understand what this line from the docs means:

\newline Backslash and newline ignored

I understand that row as either "\n" won't appear in the resulting string
or that I should get "\\newline".

Yuval Greenfield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121011/4506d96a/attachment.html>


More information about the Python-ideas mailing list