diff options
author | Georg Brandl <georg@python.org> | 2012-06-20 11:26:03 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-06-20 11:26:03 +0200 |
commit | a162e4a2bb3f7b34fc647a1ba44037e6957bb82c (patch) | |
tree | c7623388f4bdd91a097c5320629cfded8722713a | |
parent | 7c44aaebf48eed28aa6b45cf44dc2c0445f5dc4a (diff) | |
download | cpython-a162e4a2bb3f7b34fc647a1ba44037e6957bb82c.tar.gz |
Fix small overeager edit from 8e47e9af826e.
-rw-r--r-- | Doc/reference/lexical_analysis.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 5e5903f7a9..bab39f9d36 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 |