From 0182f38dece9d37818f7409a807648a0dceaa783 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 20 Jun 2012 11:26:03 +0200 Subject: [PATCH] Fix small overeager edit from 8e47e9af826e. --- Doc/reference/lexical_analysis.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 5e5903f7a92..bab39f9d367 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -444,7 +444,7 @@ must be expressed with escapes. As of Python 3.3 it is possible again to prefix unicode strings with a ``u`` prefix to simplify maintenance of dual 2.x and 3.x codebases. -Bytes literals may optionally be prefixed with a letter ``'r'`` +Both string and bytes literals may optionally be prefixed with a letter ``'r'`` or ``'R'``; such strings are called :dfn:`raw strings` and treat backslashes as literal characters. As a result, in string literals, ``'\U'`` and ``'\u'`` escapes in raw strings are not treated specially. Given that Python 2.x's raw