On Wed, Feb 25, 2015 at 5:00 PM, Ben Finney <ben+pyt...@benfinney.id.au> wrote: > There is a wider context here, too: semantics of the backslash escape > <URL:https://en.wikipedia.org/wiki/Backslash#Usage> commonly include > “backslash followed by a character not otherwise mentioned will produce > that character, verbatim”. > > Proposals to change that for Python's string literals must account for > the fact this will make Python's rules for backslash escape surprisingly > different in this regard from many other usages of backslash escape.
That's different from Python's rule, which is that "backslash followed by a character not otherwise mentioned will produce *a backslash followed by* that character, verbatim". ChrisA _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com