[Python-ideas] Is there a good reason to use * for multiplication?

Joshua Landau joshua.landau.ws at gmail.com
Mon Oct 15 02:12:45 CEST 2012


On 15 October 2012 00:46, MRAB <python at mrabarnett.plus.com> wrote:

> OK, but what about raw string literals? Currently, "\\u0190" ==
> r"\u0190", but "\\u0190" != r"Ɛ".


The “r"” prefix escapes all escapes, so will escape this escape too. Hence,
this behaviour is un...escaped ;).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121015/89e53536/attachment.html>


More information about the Python-ideas mailing list